r5417 - trunk/varnish-cache/bin/varnishtest/tests

phk at varnish-cache.org phk at varnish-cache.org
Wed Oct 6 23:50:43 CEST 2010


Author: phk
Date: 2010-10-06 23:50:42 +0200 (Wed, 06 Oct 2010)
New Revision: 5417

Modified:
   trunk/varnish-cache/bin/varnishtest/tests/c00002.vtc
Log:
Make this test more robust



Modified: trunk/varnish-cache/bin/varnishtest/tests/c00002.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/c00002.vtc	2010-10-06 18:08:53 UTC (rev 5416)
+++ trunk/varnish-cache/bin/varnishtest/tests/c00002.vtc	2010-10-06 21:50:42 UTC (rev 5417)
@@ -9,11 +9,10 @@
 	txresp -hdr "Connection: close" -body "012345\n"
 } -start
 
-varnish v1 -arg "-p thread_pool_min=2 -p thread_pool_max=2 -p thread_pools=4" 
+varnish v1 -arg "-p thread_pool_min=2 -p thread_pool_max=8 -p thread_pools=4 -p thread_pool_purge_delay=10" 
 
 varnish v1 -vcl+backend {} -start
 
-varnish v1 -expect n_wrk_create == 8
 
 client c1 {
 	txreq -url "/"
@@ -21,3 +20,5 @@
 	expect resp.status == 200
 } -run
 
+varnish v1 -cliok stats
+varnish v1 -expect n_wrk == 8




More information about the varnish-commit mailing list