[master] c022cc4 It is more robust to wait for the client connection to close than to delay a random-ish number of seconds

Poul-Henning Kamp phk at FreeBSD.org
Tue Mar 28 16:48:06 CEST 2017


commit c022cc4ce74118d78b62d78d3e84a071bc52cc8c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Mar 28 14:47:09 2017 +0000

    It is more robust to wait for the client connection to close
    than to delay a random-ish number of seconds

diff --git a/bin/varnishtest/tests/c00057.vtc b/bin/varnishtest/tests/c00057.vtc
index ba0ec1e..6ad74aa 100644
--- a/bin/varnishtest/tests/c00057.vtc
+++ b/bin/varnishtest/tests/c00057.vtc
@@ -16,8 +16,7 @@ varnish v1 -vcl+backend {
 
 client c1 {
 	txreq
+	expect_close
 } -run
 
-delay 7
-
 varnish v1 -cliok "panic.show"



More information about the varnish-commit mailing list