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
d9d22f35
Commit
d9d22f35
authored
Dec 23, 2019
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify r02372.vtc
We don't need randomness where we could have determinism.
parent
764f1fca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
r02372.vtc
bin/varnishtest/tests/r02372.vtc
+1
-4
No files found.
bin/varnishtest/tests/r02372.vtc
View file @
d9d22f35
...
...
@@ -2,17 +2,14 @@ varnishtest "Count purges when there are many variants"
server s1 -repeat 72 -keepalive {
rxreq
txresp -hdr "Vary:
foo
"
txresp -hdr "Vary:
x-varnish
"
} -start
varnish v1 -arg "-p workspace_thread=512" -vcl+backend {
import std;
sub vcl_recv {
if (req.method == "PURGE") {
return (purge);
}
set req.http.foo = "x" + std.random(1,10) * 1000000000;
}
} -start
...
...
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