[master] 66ab5b05f Attempt to fix r03996 on systems without massive resources It's amazing how long time it takes to find a delay of half a second...

Poul-Henning Kamp phk at FreeBSD.org
Tue Jan 9 09:52:09 UTC 2024


commit 66ab5b05fbd0f3917ba9996259c69f66bd9b2d41
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Jan 9 09:50:23 2024 +0000

    Attempt to fix r03996 on systems without massive resources
    It's amazing how long time it takes to find a delay of half a second...

diff --git a/bin/varnishtest/tests/r03996.vtc b/bin/varnishtest/tests/r03996.vtc
index cb1936027..c38ead8eb 100644
--- a/bin/varnishtest/tests/r03996.vtc
+++ b/bin/varnishtest/tests/r03996.vtc
@@ -17,6 +17,7 @@ varnish v1 -vcl+backend {
 	import vtc;
 
 	sub vcl_recv {
+		vtc.sleep(0.5s);
 		if (req.http.barrier) {
 			vtc.barrier_sync(req.http.barrier);
 		}
@@ -25,6 +26,8 @@ varnish v1 -vcl+backend {
 
 } -start
 
+varnish v1 -vsl_catchup
+
 client c1 {
 	stream 0 {
 		rxgoaway
@@ -43,6 +46,8 @@ client c1 {
 	stream 0 -wait
 } -run
 
+varnish v1 -vsl_catchup
+
 varnish v1 -expect sc_rapid_reset == 1
 
 varnish v1 -cliok "param.set feature -vcl_req_reset"
@@ -64,4 +69,6 @@ client c2 {
 	stream 0 -wait
 } -run
 
+varnish v1 -vsl_catchup
+
 varnish v1 -expect sc_rapid_reset == 2


More information about the varnish-commit mailing list