[PATCH 3/3] Wait a bit before trying to start/use varnishd again

Rogier 'DocWilco' Mulhuijzen github at bsdchicks.com
Wed Jan 18 10:51:16 CET 2012


---
 bin/varnishtest/tests/p00007.vtc |    2 ++
 bin/varnishtest/tests/v00010.vtc |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/bin/varnishtest/tests/p00007.vtc b/bin/varnishtest/tests/p00007.vtc
index 78aa8fb..7dc2e68 100644
--- a/bin/varnishtest/tests/p00007.vtc
+++ b/bin/varnishtest/tests/p00007.vtc
@@ -53,6 +53,8 @@ varnish v1 -cliok "debug.persistent s0 dump"
 # Panic worker so second segment does not get closed
 varnish v1 -clierr 400 "debug.panic.worker"
 
+delay 0.5
+
 # start again
 varnish v1 -start
 
diff --git a/bin/varnishtest/tests/v00010.vtc b/bin/varnishtest/tests/v00010.vtc
index 45dbc79..b44fc13 100644
--- a/bin/varnishtest/tests/v00010.vtc
+++ b/bin/varnishtest/tests/v00010.vtc
@@ -42,6 +42,8 @@ varnish v1 -cliok "start"
 varnish v1 -wait-running
 sema r1 sync 2
 
+delay 0.5
+
 client c1 {
 	txreq -url "/"
 	rxresp
-- 
1.7.5.4




More information about the varnish-dev mailing list