[master] 0c9ec844a r02618.vtc: halve the sweep step

Nils Goroll nils.goroll at uplex.de
Sun Apr 23 09:06:05 UTC 2023


commit 0c9ec844a64f32e3371999ea464782d1b96a54b9
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Sun Apr 23 11:05:05 2023 +0200

    r02618.vtc: halve the sweep step
    
    the 32bit vtesters did not hit all error paths

diff --git a/bin/varnishtest/tests/r02618.vtc b/bin/varnishtest/tests/r02618.vtc
index f3c80e272..e97d64eae 100644
--- a/bin/varnishtest/tests/r02618.vtc
+++ b/bin/varnishtest/tests/r02618.vtc
@@ -12,9 +12,9 @@ varnish v1 -arg "-a ${tmpdir}/v1.sock" -vcl+backend {
 	}
 	sub vcl_deliver {
 		if (req.method == "GET") {
-			vtc.workspace_alloc(client, -2 * (req.xid - 1001));
+			vtc.workspace_alloc(client, -1 * (req.xid - 1001));
 		} else if (req.method == "HEAD") {
-			vtc.workspace_alloc(client, -2 * (req.xid - 1202));
+			vtc.workspace_alloc(client, -1 * (req.xid - 1202));
 		}
 	}
 } -start


More information about the varnish-commit mailing list