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
043ecc54
Commit
043ecc54
authored
Apr 13, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure that the vcl poker never sees the high default cooldown
timer parameter.
parent
900702bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
v00044.vtc
bin/varnishtest/tests/v00044.vtc
+2
-4
No files found.
bin/varnishtest/tests/v00044.vtc
View file @
043ecc54
...
...
@@ -7,15 +7,13 @@ server s1 -repeat 20 {
close
} -start
varnish v1 -vcl {
varnish v1 -
arg "-p vcl_cooldown=1" -
vcl {
backend default {
.host = "${s1_addr}";
.probe = { .interval = 1s; .initial = 1;}
}
} -start
varnish v1 -cliok "param.set vcl_cooldown 1"
# We only have one vcl yet
varnish v1 -expect VBE.vcl1.default.happy >= 0
varnish v1 -expect !VBE.vcl2.default.happy
...
...
@@ -50,7 +48,7 @@ varnish v1 -expect VBE.vcl1.default.happy >= 0
varnish v1 -expect VBE.vcl2.default.happy >= 0
# and the unused one should go cold
delay
3
delay
4
varnish v1 -expect !VBE.vcl2.default.happy
# Mark the used warm and use it the other
...
...
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