[6.0] ce2c70916 Use vsl_catchup instead of delay .1
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Wed Feb 6 10:11:09 UTC 2019
commit ce2c70916db98b7691140a404fa93a12977cb00b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Nov 19 21:20:00 2018 +0000
Use vsl_catchup instead of delay .1
diff --git a/bin/varnishtest/tests/c00034.vtc b/bin/varnishtest/tests/c00034.vtc
index 1344fe2a6..3fbe5fefd 100644
--- a/bin/varnishtest/tests/c00034.vtc
+++ b/bin/varnishtest/tests/c00034.vtc
@@ -22,6 +22,8 @@ client c1 {
varnish v1 -expect s_resp_bodybytes == 100
+varnish v1 -vsl_catchup
+
varnish v1 -cliok "param.set http_range_support on"
client c1 {
@@ -72,7 +74,8 @@ client c1 {
} -run
varnish v1 -expect s_resp_bodybytes == 100
-delay .1
+
+varnish v1 -vsl_catchup
client c1 {
# Valid range requests
@@ -122,6 +125,8 @@ client c1 {
varnish v1 -expect s_resp_bodybytes == 501
+varnish v1 -vsl_catchup
+
# Test Range streaming with streaming objects with C-L
server s1 {
@@ -174,7 +179,7 @@ client c1 {
expect_close
} -run
-delay .1
+varnish v1 -vsl_catchup
client c1 {
# Closed C-L because we cannot use C-L
More information about the varnish-commit
mailing list