Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
3dffeb9e
Commit
3dffeb9e
authored
Aug 15, 2011
by
Kristian Lyngstol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add (disabled) test-case for #977
parent
0e3c3ed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
r00977.vtc
bin/varnishtest/tests.disabled/r00977.vtc
+28
-0
No files found.
bin/varnishtest/tests.disabled/r00977.vtc
0 → 100644
View file @
3dffeb9e
varnishtest "Test proper fallbacks of client director"
server s1 -repeat 1 {
rxreq
txresp -status 200
} -start
varnish v1 -vcl+backend {
director foo client{
.retries = 5;
{ .backend = { .host = "${bad_ip}"; .port = "9090"; } .weight = 1; }
{ .backend = s1; .weight = 1;}
}
sub vcl_recv {
set req.backend = foo;
set client.identity = "44.452";
return (pass);
}
} -start
client c1 {
txreq
rxresp
expect resp.status == 200
} -run
varnish v1 -expect backend_fail == 1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment