Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
4784fe95
Commit
4784fe95
authored
Aug 15, 2011
by
Kristian Lyngstol
Committed by
Tollef Fog Heen
Aug 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add (disabled) test-case for #977
parent
97031169
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 @
4784fe95
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