[master] d9d22f35d Simplify r02372.vtc
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Mon Dec 23 09:49:06 UTC 2019
commit d9d22f35d586d451ad92883ec83b4ef4338c8f7a
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Mon Dec 23 10:47:03 2019 +0100
Simplify r02372.vtc
We don't need randomness where we could have determinism.
diff --git a/bin/varnishtest/tests/r02372.vtc b/bin/varnishtest/tests/r02372.vtc
index a01401f16..0df38cb79 100644
--- a/bin/varnishtest/tests/r02372.vtc
+++ b/bin/varnishtest/tests/r02372.vtc
@@ -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
More information about the varnish-commit
mailing list