[master] 2bfaa565f v68.vtc: actually excercise second server request
Nils Goroll
nils.goroll at uplex.de
Thu Feb 6 19:14:06 UTC 2025
commit 2bfaa565f4b689ef0e151ade6490586ba215ceec
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Thu Feb 6 19:35:46 2025 +0100
v68.vtc: actually excercise second server request
IIUC, the intention here was that the second client request without a body
should also hit the server, but it did not, because it was cached.
diff --git a/bin/varnishtest/tests/v00068.vtc b/bin/varnishtest/tests/v00068.vtc
index 47b01b71c..cf85d768d 100644
--- a/bin/varnishtest/tests/v00068.vtc
+++ b/bin/varnishtest/tests/v00068.vtc
@@ -9,7 +9,8 @@ server s1 {
rxreq
expect req.method == "GET"
- expect req.url == "/cached"
+ expect req.url == "/cachednobody"
+ expect req.http.Content-Length == <undef>
txresp
} -start
@@ -31,7 +32,7 @@ client c1 {
rxresp
expect resp.status == 200
- txreq -url "/cached"
+ txreq -url "/cachednobody"
rxresp
expect resp.status == 200
} -run
More information about the varnish-commit
mailing list