Commit d9d22f35 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Simplify r02372.vtc

We don't need randomness where we could have determinism.
parent 764f1fca
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment