Commit 16ed1660 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Try to stabilize this test with a barrier.

parent c6728894
varnishtest "H1->H2 Upgrade" varnishtest "H1->H2 Upgrade"
barrier b1 cond 2
server s1 { server s1 {
rxreq rxreq
expect req.http.host == foo.bar expect req.http.host == foo.bar
barrier b1 sync
txresp -status 400 -bodylen 10 txresp -status 400 -bodylen 10
} -start } -start
...@@ -21,6 +24,15 @@ client c1 { ...@@ -21,6 +24,15 @@ client c1 {
expect resp.status == 101 expect resp.status == 101
expect resp.http.upgrade == h2c expect resp.http.upgrade == h2c
expect resp.http.connection == Upgrade expect resp.http.connection == Upgrade
txpri
stream 0 {
rxsettings
txsettings
txsettings -ack
rxsettings
expect settings.ack == true
} -run
barrier b1 sync
stream 1 { stream 1 {
rxresp rxresp
expect resp.status == 400 expect resp.status == 400
......
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