[6.0] 4a48254d6 vtc: Fix h5 on my machine

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Oct 25 06:50:08 UTC 2021

commit 4a48254d6fb98739068c0691b5b8d8e94a406402
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Wed May 26 11:41:53 2021 +0200

    vtc: Fix h5 on my machine
    Ever since my system upgraded haproxy to 2.3.10 this test has
    consistently timed out. While that would be a breaking change
    involving the independent vtest project too, I think the VTC
    syslog spec would work better with something like:
        expect skip facility.level regex
    Where skip could be uint, * or ? similar to how logexpect works,
    and both facility and level could also be * to be non-specific.
    For now, let's hope this does not break the test suite for anyone

diff --git a/bin/varnishtest/tests/h00005.vtc b/bin/varnishtest/tests/h00005.vtc
index 098bf19ab..9ca3080ab 100644
--- a/bin/varnishtest/tests/h00005.vtc
+++ b/bin/varnishtest/tests/h00005.vtc
@@ -9,8 +9,6 @@ server s1 {
 } -start
 syslog S1 -level notice -bind "" {
-	recv
-	recv
 	recv info
 	expect ~ \"dip\":\"${h1_fe_1_addr}\"
 } -start

More information about the varnish-commit mailing list