Commit f0e7b287 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add a test-case for backend reference errors.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2884 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 23edde75
......@@ -34,3 +34,13 @@ varnish v1 -badvcl {
.connect_timeout = 1m;
}
}
# Check backend reference by name
varnish v1 -badvcl {
backend b1 { .host = "127.0.0.2"; }
director r1 random {
{ .weight = 1; .backend = b1; }
{ .weight = 1; .backend = { .host = "127.0.0.3"; } }
{ .weight = 1; .backend = 3745; } // Brownie points for getting the joke
}
}
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