Commit 7cee37c0 authored by Nils Goroll's avatar Nils Goroll

more test stabilization

With 32ef5dce, this test also cancels
backend requests and thus may prevent the server from finishing writing
the reponse body

Ref #2964
parent 1842a555
......@@ -3,8 +3,10 @@ varnishtest "shard director Restarts"
server s1 {
rxreq
txresp -body "ech3Ooj"
accept
rxreq
txresp -body "ech3Ooj"
accept
rxreq
txresp -body "ech3Ooj"
} -start
......@@ -12,8 +14,10 @@ server s1 {
server s2 {
rxreq
txresp -body "ieQu2qua"
accept
rxreq
txresp -body "ieQu2qua"
accept
rxreq
txresp -body "ieQu2qua"
} -start
......@@ -21,8 +25,10 @@ server s2 {
server s3 {
rxreq
txresp -body "xiuFi3Pe"
accept
rxreq
txresp -body "xiuFi3Pe"
accept
rxreq
txresp -body "xiuFi3Pe"
} -start
......@@ -38,6 +44,10 @@ varnish v1 -vcl+backend {
vd.reconfigure(25);
}
sub vcl_backend_fetch {
set bereq.http.Connection = "close";
}
sub vcl_recv {
set req.backend_hint = vd.backend(by=KEY,
key=1756955383,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment