[3.0] 277ad79 Wait for the health-probe to finish before we even start client c2, this should solve issues where the c2-v1 connection times out before it ever got used.

Tollef Fog Heen tfheen at varnish-cache.org
Thu Sep 22 14:03:23 CEST 2011


commit 277ad79137c4a21ee045435e7eb306e91cbb8d97
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Sep 20 09:48:16 2011 +0000

    Wait for the health-probe to finish before we even start client c2,
    this should solve issues where the c2-v1 connection times out before
    it ever got used.

diff --git a/bin/varnishtest/tests/s00002.vtc b/bin/varnishtest/tests/s00002.vtc
index f7b8820..939d0ee 100644
--- a/bin/varnishtest/tests/s00002.vtc
+++ b/bin/varnishtest/tests/s00002.vtc
@@ -62,8 +62,9 @@ client c1 {
 	expect resp.status == 200
 } -run
 
+sema r1 sync 2
+
 client c2 {
-	sema r1 sync 2
 	txreq -url "/"
 	rxresp
 	expect resp.http.foo == "bar"



More information about the varnish-commit mailing list