Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use admin health to control test-state

  • Loading branch information...
commit 79db58ace109a60f5bc878ff99920fdef5c952fe 1 parent 48ab7aa
@bsdphk bsdphk authored Tollef Fog Heen committed
Showing with 3 additions and 4 deletions.
  1. +3 −4 bin/varnishtest/tests/r00306.vtc
View
7 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

0 comments on commit 79db58a

Please sign in to comment.
Something went wrong with that request. Please try again.