Commit 79db58ac authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Tollef Fog Heen

Use admin health to control test-state

parent 48ab7aa1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment