[master] b8d0687 Also stabilize t02006 with a barrier to keep HEADERS from overtaking WINDOWS UPDATE

Poul-Henning Kamp phk at FreeBSD.org
Wed Apr 5 01:08:05 CEST 2017


commit b8d06876da481ce6e69ee2165d86e2118eabf915
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Apr 4 23:06:42 2017 +0000

    Also stabilize t02006 with a barrier to keep HEADERS from overtaking
    WINDOWS UPDATE

diff --git a/bin/varnishtest/tests/t02006.vtc b/bin/varnishtest/tests/t02006.vtc
index 58b33e3..31a5fbf 100644
--- a/bin/varnishtest/tests/t02006.vtc
+++ b/bin/varnishtest/tests/t02006.vtc
@@ -1,8 +1,11 @@
 varnishtest "H2 POST w/ 100 Continue"
 
+barrier b1 cond 2
+
 server s1 {
 	rxreq
 	expect req.proto == HTTP/1.1
+	barrier b1 sync
 	txresp -hdr "Content-Type: text/plain" -body response
 } -start
 
@@ -28,6 +31,7 @@ client c1 {
 			-data request
 
 		rxwinup
+		barrier b1 sync
 		rxresp
 		expect resp.status == 200
 		expect resp.http.content-Type == "text/plain"



More information about the varnish-commit mailing list