[3.0] 79db58a Use admin health to control test-state
Tollef Fog Heen
tfheen at varnish-cache.org
Thu May 24 14:51:12 CEST 2012
commit 79db58ace109a60f5bc878ff99920fdef5c952fe
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu May 10 09:09:49 2012 +0000
Use admin health to control test-state
diff --git a/bin/varnishtest/tests/r00306.vtc b/bin/varnishtest/tests/r00306.vtc
index ebc1774..079e994 100644
--- a/bin/varnishtest/tests/r00306.vtc
+++ b/bin/varnishtest/tests/r00306.vtc
@@ -23,10 +23,6 @@ varnish v1 -vcl {
}
backend s2 {
.host = "${s2_addr}"; .port = "${s2_port}";
- .probe = {
- .url = "/";
- .initial = 0;
- }
}
director foo random {
{ .backend = s2; .weight = 1; }
@@ -38,6 +34,9 @@ varnish v1 -vcl {
}
} -start
+varnish v1 -cliok "backend.set_health s2 sick"
+varnish v1 -cliok "backend.list"
+
client c1 {
timeout 10
More information about the varnish-commit
mailing list