[master] 28c46ae9f r3940: make clear that the big quit is expected
Nils Goroll
nils.goroll at uplex.de
Mon Jul 3 19:43:05 UTC 2023
commit 28c46ae9f92f62dd233274b60448c02300667e2e
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Jul 3 21:25:29 2023 +0200
r3940: make clear that the big quit is expected
diff --git a/bin/varnishtest/tests/r03940.vtc b/bin/varnishtest/tests/r03940.vtc
index 71211dde1..b017adc5c 100644
--- a/bin/varnishtest/tests/r03940.vtc
+++ b/bin/varnishtest/tests/r03940.vtc
@@ -33,6 +33,7 @@ varnish v2 -arg "-sdebug=debug,dopen=5s -pstartup_timeout=2s -pcli_timeout=3s" \
varnish v2 -cliexpect \
"launch within cli_timeout=3.00s .tip: set startup_" \
"start"
+# "time for the big quit"
varnish v2 -cliok "panic.clear"
varnish v2 -wait
@@ -42,5 +43,7 @@ process p2 { varnishd \
-n ${tmpdir}/p2 -a :0 -b none
} -expect-exit 0x2 -run
+shell {grep -q "time for the big quit" ${p2_err}}
+
# see explanation of previous shell grep
shell {grep -q "launch within cli_timeout=3.00s (tip: set startup_" ${p2_err}}
More information about the varnish-commit
mailing list