[4.0] 2ce0a6a Make this test 0.1 second more tolerant of timing on loaded systems

Lasse Karstensen lkarsten at varnish-software.com
Mon Sep 22 16:38:24 CEST 2014


commit 2ce0a6a880005f172c4ca639bebb7ce7ded7a54f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Aug 26 20:45:27 2014 +0000

    Make this test 0.1 second more tolerant of timing on loaded systems

diff --git a/bin/varnishtest/tests/r01578.vtc b/bin/varnishtest/tests/r01578.vtc
index 3086b6b..d0835d5 100644
--- a/bin/varnishtest/tests/r01578.vtc
+++ b/bin/varnishtest/tests/r01578.vtc
@@ -30,12 +30,12 @@ client c1 {
 	rxresp
 	expect resp.bodylen == 40
 	expect resp.http.x-ttl == 23.000
-	expect resp.http.x-remaining-ttl ~ ^17\.0|^16\.9
+	expect resp.http.x-remaining-ttl ~ ^17\.0|^16\.[89]
 
 	delay 2
 	txreq
 	rxresp
 	expect resp.bodylen == 40
 	expect resp.http.x-ttl == 23.000
-	expect resp.http.x-remaining-ttl ~ ^15\.0|^14\.9
+	expect resp.http.x-remaining-ttl ~ ^15\.0|^14\.[89]
 } -run



More information about the varnish-commit mailing list