[master] 9db34c446 Try to shut down more gracefully in h00007

Poul-Henning Kamp phk at FreeBSD.org
Tue Nov 25 10:28:05 UTC 2025


commit 9db34c4462c4c09a1dd21cd7edd77caea90dceb4
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Nov 25 10:27:18 2025 +0000

    Try to shut down more gracefully in h00007

diff --git a/bin/varnishtest/tests/h00007.vtc b/bin/varnishtest/tests/h00007.vtc
index 9951ef7fc..e2d7e75d6 100644
--- a/bin/varnishtest/tests/h00007.vtc
+++ b/bin/varnishtest/tests/h00007.vtc
@@ -9,6 +9,7 @@ feature cmd {haproxy --version 2>&1 | grep -q 'HA-*Proxy version'}
 server s1 {
     rxreq
     txresp -body "s1 >>> Hello world!"
+    shutdown
 } -start
 
 varnish v1 -proto "PROXY" -vcl+backend {} -start
@@ -28,7 +29,7 @@ haproxy h1 -D -conf {
 varnish v1 -vcl+backend {
 	import std;
 
-	acl localhost {
+	acl localhost -fold {
 		"localhost";
 		"127.0.0.1";
 		"::1";
@@ -58,3 +59,7 @@ client c1 -connect ${h1_fe1_sock} {
     expect resp.http.notstdip == false
     expect resp.body == "s1 >>> Hello world!"
 } -run
+
+varnish v1 -vsl_catchup
+
+haproxy h1 -wait



More information about the varnish-commit mailing list