[6.0] df5ce9937 SQUASHME: c96 stabilization

Reza Naghibi reza at naghibi.com
Wed May 20 13:55:08 UTC 2020


commit df5ce9937f98f9a709cef4371ec2a64863a3727b
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