[master] 0cc146608 stabilize another test by example of r01490.vtc

Nils Goroll nils.goroll at uplex.de
Wed Apr 24 11:02:07 UTC 2019


commit 0cc146608d51b62e2a694467110171a2c18a4e02
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Apr 24 12:49:28 2019 +0200

    stabilize another test by example of r01490.vtc
    
    hope we'll get to a better option soon.
    
    Ref: 691d5ac9b3aaa4d22b98cc1ce44b8daa685f64e9

diff --git a/bin/varnishtest/tests/v00006.vtc b/bin/varnishtest/tests/v00006.vtc
index 4a187c8a7..66d3d989c 100644
--- a/bin/varnishtest/tests/v00006.vtc
+++ b/bin/varnishtest/tests/v00006.vtc
@@ -14,11 +14,17 @@ server s1 {
 } -start
 
 # Only one pool, to avoid getting more than one work thread
-varnish v1 -arg "-p thread_pools=1" -vcl+backend { } -start
-
-# Give the varnishd a chance to start and create workers etc.
+varnish v1 \
+	-arg "-p thread_pools=1" \
+	-arg "-p thread_pool_timeout=10" \
+	-vcl+backend { } -start
+
+# Give the varnishd a chance to start and create workers, delaying for
+# >thread_pool_timeout to allow for any over-bred workers to be kissed
+# to death.
 # NB: This is important for to avoid mis-ordering of the workers.
-# delay 1
+
+delay 11
 
 varnish v1 -expect MAIN.threads == 10
 


More information about the varnish-commit mailing list