[master] 9177521b2 debug storage: Stabilize test
Nils Goroll
nils.goroll at uplex.de
Fri Apr 11 12:21:06 UTC 2025
commit 9177521b2ce1bbf862c75130e491fc1140573062
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Fri Apr 11 14:19:16 2025 +0200
debug storage: Stabilize test
Ensure we reach streaming mode using barriers
diff --git a/bin/varnishtest/tests/c00030.vtc b/bin/varnishtest/tests/c00030.vtc
index b0eb4945a..97fa9a4e6 100644
--- a/bin/varnishtest/tests/c00030.vtc
+++ b/bin/varnishtest/tests/c00030.vtc
@@ -11,12 +11,17 @@ shell -err -expect {Error: Unknown BYTES} \
# lessspace is implicitly tested in b00017.vtc
+barrier b1 cond 2
+
server s1 {
rxreq
txresp -bodylen 1024
rxreq
- txresp -bodylen 1025
+ txresp -nolen -hdr "Content-Length: 1025"
+ barrier b1 sync
+ send_n 32 "0123456789abcdef0123456789abcdef"
+ send "X"
} -start
@@ -43,6 +48,7 @@ client c1 {
rxresphdrs
expect resp.status == 200
expect resp.http.Content-Length == 1025
+ barrier b1 sync
rxrespbody -max 1024
expect_close
expect resp.bodylen == 1024
More information about the varnish-commit
mailing list