[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    [master] b0bc73e42 Use vsl_catchup instead of delay .1
From:       Poul-Henning Kamp <phk () FreeBSD ! org>
Date:       2018-11-19 22:15:16
Message-ID: 20181119221516.5C6B3B27DB () lists ! varnish-cache ! org
[Download RAW message or body]


commit b0bc73e4269165d337ef5fc5004df0c1f8447ced
Author: Poul-Henning Kamp <phk@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
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic