[master] 886c59260 vmod_debug_transport_vai: Coverage, excercise fallback to VDP
Nils Goroll
nils.goroll at uplex.de
Mon Jul 14 17:46:04 UTC 2025
commit 886c592608848a29d6e25a8a94060e4f76409ed7
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Jul 14 19:44:28 2025 +0200
vmod_debug_transport_vai: Coverage, excercise fallback to VDP
diff --git a/bin/varnishtest/tests/m00061.vtc b/bin/varnishtest/tests/m00061.vtc
index 3ef261539..ec8cf4a37 100644
--- a/bin/varnishtest/tests/m00061.vtc
+++ b/bin/varnishtest/tests/m00061.vtc
@@ -16,6 +16,9 @@ varnish v1 \
}
sub vcl_deliver {
+ if (req.url == "/rot13") {
+ set resp.filters += " rot13";
+ }
if (req.url == "/chunked") {
set resp.filters += " debug.chunked";
}
@@ -64,3 +67,11 @@ client c0 {
} -run
logexpect l1 -wait
+
+# Fallback to DeliverObj because of VDP
+client c3 -repeat 8 -keepalive {
+ txreq -url "/rot13"
+ rxresp
+ expect resp.http.Content-Length == 13107
+ expect resp.bodylen == 13107
+} -run
More information about the varnish-commit
mailing list