[master] cd0329b Take another shot at stability in this case
Poul-Henning Kamp
phk at FreeBSD.org
Tue May 5 14:50:38 CEST 2015
commit cd0329bc149c9593450de119ebea1b3f1f0418ee
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue May 5 12:50:11 2015 +0000
Take another shot at stability in this case
diff --git a/bin/varnishtest/tests/c00034.vtc b/bin/varnishtest/tests/c00034.vtc
index bab80f0..434b826 100644
--- a/bin/varnishtest/tests/c00034.vtc
+++ b/bin/varnishtest/tests/c00034.vtc
@@ -116,7 +116,7 @@ varnish v1 -expect s_resp_bodybytes == 401
# Test Range streaming with streaming objects with C-L
-server s1 -repeat 2 {
+server s1 {
rxreq
txresp -nolen -hdr "Content-Length: 100"
send "0123456789"
@@ -130,6 +130,20 @@ server s1 -repeat 2 {
sema r1 sync 2
send "0123456789"
send "0123456789"
+
+ rxreq
+ txresp -nolen -hdr "Content-Length: 100"
+ send "0123456789"
+ send "0123456789"
+ send "0123456789"
+ send "0123456789"
+ send "0123456789"
+ send "0123456789"
+ send "0123456789"
+ send "0123456789"
+ sema r2 sync 2
+ send "0123456789"
+ send "0123456789"
} -start
varnish v1 -vcl+backend {
@@ -166,7 +180,7 @@ client c1 {
expect resp.status == 206
expect resp.http.Content-Range == "bytes 2-5/*"
expect resp.http.Content-Length == 4
- sema r1 sync 2
+ sema r2 sync 2
recv 4
expect_close
} -run
More information about the varnish-commit
mailing list