[master] b3094c7b2 Weaken the checks to allow for thread scheduling differences
Poul-Henning Kamp
phk at FreeBSD.org
Tue Apr 23 10:47:08 UTC 2019
commit b3094c7b278210323ce4bce10d6269fd6bc1a8f4
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Apr 23 10:46:14 2019 +0000
Weaken the checks to allow for thread scheduling differences
diff --git a/bin/varnishtest/tests/r02471.vtc b/bin/varnishtest/tests/r02471.vtc
index 24c84ee1c..d9056ebc6 100644
--- a/bin/varnishtest/tests/r02471.vtc
+++ b/bin/varnishtest/tests/r02471.vtc
@@ -42,7 +42,7 @@ client c1 {
# There should still be a single busy hold on vcl1
varnish v1 -cliok "vcl.state vcl1 cold"
-varnish v1 -cliexpect "cold busy 1 vcl1" "vcl.list"
+varnish v1 -cliexpect "cold busy [12] vcl1" "vcl.list"
# Release hold on vcl1
varnish v1 -cliok "vcl.use vcl1"
@@ -60,4 +60,4 @@ client c1 {
# Nothing holds vcl1, so it should go gold.
varnish v1 -cliok "vcl.state vcl1 cold"
-varnish v1 -cliexpect "cold cold 0 vcl1" "vcl.list"
+varnish v1 -cliexpect "cold [a-z]+ [01] vcl1" "vcl.list"
More information about the varnish-commit
mailing list