[master] f59859384 even more session overflow test tweaking

Nils Goroll nils.goroll at uplex.de
Thu Jan 16 12:56:06 UTC 2020


commit f5985938429951fb570cfa1c350ff34d0b910b83
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Jan 16 13:54:20 2020 +0100

    even more session overflow test tweaking
    
    and enable debug output for better failure analysis

diff --git a/bin/varnishtest/tests/o00005.vtc b/bin/varnishtest/tests/o00005.vtc
index b7b5af7a5..df2bc747a 100644
--- a/bin/varnishtest/tests/o00005.vtc
+++ b/bin/varnishtest/tests/o00005.vtc
@@ -213,8 +213,8 @@ logexpect l1 -wait
 # This value is fragile, ideally we would want something like
 # vtc.alloc(-x), yet there is no vcl code being run before we parse
 # proxy headers
+
 varnish v1 -cliok "param.set workspace_session 402"
-varnish v1 -cliok "param.set pool_sess 10,100,1"
 
 delay 1
 
@@ -246,6 +246,7 @@ client c12 -wait
 client c13 -wait
 client c14 -wait
 
+varnish v1 -cliok "param.set pool_sess 1,1,1"
 client c2 {
 	# PROXY2 with CRC32C TLV
 	sendhex {
@@ -274,9 +275,9 @@ varnish v1 -expect ws_session_overflow == 1
 
 # increased workspace is being reflected immediately
 
-varnish v1 -cliok "param.set workspace_session 528"
+varnish v1 -cliok "param.set workspace_session 524"
 
-delay 1
+varnish v1 -cliok "param.set debug +workspace"
 
 client c1 {
 	# PROXY2 sp->ws overflow


More information about the varnish-commit mailing list