[master] 2608ea8bd vtc: Fix h5 on my machine

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed May 26 09:47:07 UTC 2021

commit 2608ea8bd4b7d7ccc4eb0b4848e38491cdc8d948
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 b6281040e..52f1d8315 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 "${listen_addr}" {
-	recv
-	recv
 	recv info
 	expect ~ \"dip\":\"${h1_fe_1_addr}\"
 } -start

More information about the varnish-commit mailing list