[6.0] 58e7f3e54 vtc: Stabilize r02305.vtc
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Wed Oct 18 09:21:09 UTC 2023
commit 58e7f3e5411860728de93b0f57b022c5e5c9bf27
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Tue Oct 20 09:30:40 2020 +0200
vtc: Stabilize r02305.vtc
We don't need a delay, we need to sync operations.
diff --git a/bin/varnishtest/tests/r02305.vtc b/bin/varnishtest/tests/r02305.vtc
index dfd60398a..d5a40fe73 100644
--- a/bin/varnishtest/tests/r02305.vtc
+++ b/bin/varnishtest/tests/r02305.vtc
@@ -1,12 +1,14 @@
varnishtest "#2305: h/2 reembark with a request body"
barrier b1 cond 2
+barrier b2 cond 2
+barrier b3 cond 2
server s1 {
rxreq
expect req.url == "/"
barrier b1 sync
- delay 2
+ barrier b2 sync
txresp
} -start
@@ -25,10 +27,13 @@ client c1 {
txreq
rxresp
expect resp.status == 200
+ barrier b3 sync
} -start
stream 3 {
barrier b1 sync
txreq -req POST -body "foo"
+ barrier b2 sync
+ barrier b3 sync
rxresp
expect resp.status == 200
} -run
More information about the varnish-commit
mailing list