[master] 3cb7f80cf vtc: Stabilize d3

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Sun Jun 27 11:46:05 UTC 2021


commit 3cb7f80cf810f2a03609aaed7ed0ce89bdcc3da8
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Sun Jun 27 13:29:58 2021 +0200

    vtc: Stabilize d3
    
    There's always the possibility to fail reusing s2's first connection
    after it was closed.

diff --git a/bin/varnishtest/tests/d00003.vtc b/bin/varnishtest/tests/d00003.vtc
index fc799c72b..6f51fbed6 100644
--- a/bin/varnishtest/tests/d00003.vtc
+++ b/bin/varnishtest/tests/d00003.vtc
@@ -11,7 +11,7 @@ server s1 {
 	txresp -hdr "Foo: 8" -body "8"
 } -start
 
-server s2 {
+server s2 -repeat 2 -keepalive {
 	rxreq
 	txresp -hdr "Foo: 1" -body "1"
 	rxreq
@@ -80,8 +80,6 @@ client c1 {
 	expect resp.http.foo == "9"
 } -run
 
-server s2 -start
-
 client c1 {
 	txreq -req "DELETE" -hdr "Host: 127.0.0.1"
 	rxresp


More information about the varnish-commit mailing list