[6.0] 88a4743d1 Make sure the expiry is in the VSL before proceeding
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Thu Aug 16 08:53:18 UTC 2018
commit 88a4743d1c17f00450c311b646483f95119ae0a4
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Jul 2 15:34:05 2018 +0000
Make sure the expiry is in the VSL before proceeding
diff --git a/bin/varnishtest/tests/b00063.vtc b/bin/varnishtest/tests/b00063.vtc
index 1adfe2680..7a68e2e2f 100644
--- a/bin/varnishtest/tests/b00063.vtc
+++ b/bin/varnishtest/tests/b00063.vtc
@@ -45,6 +45,12 @@ varnish v1 -vcl+backend {
}
} -start
+logexpect l1 -v v1 -g raw {
+ expect * * ExpKill EXP_expire
+ expect * * ExpKill EXP_When
+ expect * * ExpKill EXP_expire
+} -start
+
client c1 {
txreq -url "/1"
rxresp
@@ -76,6 +82,9 @@ client c2 {
client c1 -wait
client c2 -wait
+# Make sure the expiry has happened
+logexpect l1 -wait
+
client c3 {
delay .1
# We should now get a HIT on the 404:
More information about the varnish-commit
mailing list