[master] b0bc73e42 Use vsl_catchup instead of delay .1

Poul-Henning Kamp phk at FreeBSD.org
Mon Nov 19 22:15:16 UTC 2018


commit b0bc73e4269165d337ef5fc5004df0c1f8447ced
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