[master] 36606226f SQUASHME: c96 stabilization

Martin Blix Grydeland martin at varnish-software.com
Mon Nov 18 14:33:07 UTC 2019


commit 36606226f29f589a6104b3d6514693306953b0e2
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Sun Oct 27 15:42:06 2019 +0100

    SQUASHME: c96 stabilization

diff --git a/bin/varnishtest/tests/c00096.vtc b/bin/varnishtest/tests/c00096.vtc
index cf80a0f53..6c1ca372a 100644
--- a/bin/varnishtest/tests/c00096.vtc
+++ b/bin/varnishtest/tests/c00096.vtc
@@ -31,6 +31,7 @@ server stest {
 
 varnish v1 -arg "-p debug=+syncvsl -p debug=+flush_head"
 varnish v1 -arg "-p thread_pools=1 -p thread_pool_min=10"
+varnish v1 -arg "-p thread_pool_add_delay=0.01"
 varnish v1 -vcl+backend {
 	sub vcl_backend_fetch {
 		if (bereq.url == "/test") {
@@ -41,10 +42,7 @@ varnish v1 -vcl+backend {
 	}
 } -start
 
-# NB: we might go above 10 threads when early tasks are submitted to
-# the pool since at least one idle thread must be kept in the pool
-# reserve.
-varnish v1 -expect MAIN.threads >= 10
+varnish v1 -expect MAIN.threads == 10
 
 client c1 {
 	txreq -url /1


More information about the varnish-commit mailing list