[master] 5e94577f7 Expect 503s

Poul-Henning Kamp phk at FreeBSD.org
Mon May 31 17:13:05 UTC 2021


commit 5e94577f7353bbb371834e839147b63aee1965bc
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon May 31 14:57:50 2021 +0000

    Expect 503s

diff --git a/bin/varnishtest/tests/i00001.vtc b/bin/varnishtest/tests/i00001.vtc
index a56300eb7..48f46e9ac 100644
--- a/bin/varnishtest/tests/i00001.vtc
+++ b/bin/varnishtest/tests/i00001.vtc
@@ -45,11 +45,13 @@ logexpect l1 -v v1 -g raw {
 client c1 {
 	txreq -hdr "foo: 1"
 	rxresp
+	expect resp.status == 503
 } -run
 
 client c1 {
 	txreq -hdr "bar: 1"
 	rxresp
+	expect resp.status == 503
 } -run
 
 logexpect l1 -wait


More information about the varnish-commit mailing list