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
2fdb50ba
Commit
2fdb50ba
authored
Apr 23, 2019
by
Martin Blix Grydeland
Committed by
Dridi Boukelmoune
Jul 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test case by @rezan for #2976.
parent
5c37624f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
0 deletions
+53
-0
r02976.vtc
bin/varnishtest/tests/r02976.vtc
+53
-0
No files found.
bin/varnishtest/tests/r02976.vtc
0 → 100644
View file @
2fdb50ba
varnishtest "Detect probe interval inversion"
barrier bprobe cond 2
server s1 {
# 5 probe requests
rxreq
txresp
close
accept
rxreq
txresp
close
accept
rxreq
txresp
close
accept
rxreq
txresp
close
accept
rxreq
txresp
close
accept
barrier bprobe sync
} -start
varnish v1 -vcl {
backend b1 {
.host = "${s1_addr}";
.port = "${s1_port}";
.probe = {
.interval = 1s;
}
}
backend b2 {
.host = "${bad_ip}";
.probe = {
.interval = 24h;
}
}
sub vcl_recv {
if (!req.url) {
set req.backend_hint = b2;
}
}
} -start
barrier bprobe sync
\ No newline at end of file
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