Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Use admin health to control test-state
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdphk authored and Tollef Fog Heen committed May 24, 2012
1 parent 48ab7aa commit 79db58a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bin/varnishtest/tests/r00306.vtc
Expand Up @@ -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; }
Expand All @@ -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

Expand Down

0 comments on commit 79db58a

Please sign in to comment.