[master] 778d0d1 Make this test 0.1 second more tolerant of timing on loaded systems

Poul-Henning Kamp phk at FreeBSD.org
Tue Aug 26 23:04:16 CEST 2014


commit 778d0d1b202d935a1ce3e4d2c3aaa6f0e35404c1
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