[master] b804d84 Try harder to stabilize this test

Poul-Henning Kamp phk at FreeBSD.org
Mon Mar 16 10:37:37 CET 2015


commit b804d84e0e46a72a0aed90df4c93e38f4da8e776
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Mar 16 09:37:24 2015 +0000

    Try harder to stabilize this test

diff --git a/bin/varnishtest/tests/v00044.vtc b/bin/varnishtest/tests/v00044.vtc
index 19620a3..59c4c33 100644
--- a/bin/varnishtest/tests/v00044.vtc
+++ b/bin/varnishtest/tests/v00044.vtc
@@ -29,15 +29,18 @@ varnish v1 -vcl {
 }
 
 # Now we have two vcls (and run on the latest loaded)
+delay .4
 varnish v1 -expect VBE.vcl1.default.happy >= 0
 varnish v1 -expect VBE.vcl2.default.happy >= 0
 
 # Freeze the first VCL
 varnish v1 -cliok "vcl.state vcl1 cold"
+delay .4
 varnish v1 -expect !VBE.vcl1.default.happy
 
 # Set it auto should be a no-op
 varnish v1 -cliok "vcl.state vcl1 auto"
+delay .4
 varnish v1 -expect !VBE.vcl1.default.happy
 
 # Use it, and it should come alive



More information about the varnish-commit mailing list