[master] c21f58dfa Make this test more resistant to machine overload, but also make it fail faster when appropriate
Poul-Henning Kamp
phk at FreeBSD.org
Wed Feb 6 21:08:08 UTC 2019
commit c21f58dfa634ae760e77f2f8f47f9b140ff8c1a0
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Feb 6 21:02:03 2019 +0000
Make this test more resistant to machine overload,
but also make it fail faster when appropriate
diff --git a/bin/varnishtest/tests/c00094.vtc b/bin/varnishtest/tests/c00094.vtc
index 546efb08f..ad7a06a4e 100644
--- a/bin/varnishtest/tests/c00094.vtc
+++ b/bin/varnishtest/tests/c00094.vtc
@@ -3,7 +3,11 @@ varnishtest "Test Backend Polling with a backend listening at a UDS"
barrier b1 cond 2
server s1 -listen "${tmpdir}/s1.sock" {
+ timeout 3
+ fatal
+
# Probes
+
loop 8 {
rxreq
expect req.url == "/"
@@ -39,7 +43,7 @@ varnish v1 -vcl {
.path = "${s1_sock}";
.probe = {
.timeout = 1 s;
- .interval = 0.1 s;
+ .interval = 0.5 s;
}
}
@@ -47,5 +51,5 @@ varnish v1 -vcl {
barrier b1 sync
-varnish v1 -cliexpect "^CLI RX| -+U+ Good UNIX" "backend.list -p"
+varnish v1 -cliexpect "^CLI RX| -+U+-{0,5} Good UNIX" "backend.list -p"
varnish v1 -cliexpect "^CLI RX| -+H{10}-{5}H{2}-{0,5} Happy" "backend.list -p"
More information about the varnish-commit
mailing list