Commit 1ef506d2 authored by Nils Goroll's avatar Nils Goroll

stabilize the error-during-streaming test

the delay is not an optimal solution, a barrier would be much more
appropriate, but I have not found the right place
parent 1c3ab7d1
...@@ -8,6 +8,7 @@ varnishtest "test error handling" ...@@ -8,6 +8,7 @@ varnishtest "test error handling"
server s1 { server s1 {
rxreq rxreq
txresp -nolen -hdr "Content-Encoding: br" -hdr "Content-Length: 4" txresp -nolen -hdr "Content-Encoding: br" -hdr "Content-Length: 4"
delay .2
sendhex "de ad be ef" sendhex "de ad be ef"
expect_close expect_close
} -start } -start
...@@ -27,11 +28,17 @@ varnish v1 -arg "-p vsl_mask=+VfpAcct" -vcl+backend { ...@@ -27,11 +28,17 @@ varnish v1 -arg "-p vsl_mask=+VfpAcct" -vcl+backend {
client c1 { client c1 {
txreq txreq
rxresphdrs rxresphdrs
expect resp.status == 200
expect_close expect_close
} -run } -run
server s1 -wait server s1 -wait
server s1 -start server s1 {
rxreq
txresp -nolen -hdr "Content-Encoding: br" -hdr "Content-Length: 4"
sendhex "de ad be ef"
expect_close
} -start
varnish v1 -vcl+backend { varnish v1 -vcl+backend {
import ${vmod_brotli}; import ${vmod_brotli};
......
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