[master] 3dcb2a501 vtc: Stabilize s6

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Sun Jun 27 11:46:06 UTC 2021


commit 3dcb2a50117588dd753d56ae2fd3e1803cc79783
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Sun Jun 27 13:31:38 2021 +0200

    vtc: Stabilize s6
    
    Despite 1s of delay we sometimes observe a zero Age header, which is
    consistent with being under the max-age of 2s and should not fail.

diff --git a/bin/varnishtest/tests/s00006.vtc b/bin/varnishtest/tests/s00006.vtc
index 9e8ba30db..53bb10e99 100644
--- a/bin/varnishtest/tests/s00006.vtc
+++ b/bin/varnishtest/tests/s00006.vtc
@@ -21,10 +21,10 @@ client c1 {
 	expect resp.status == 200
 	expect resp.http.Age == 0
 
-	delay 0.2
+	delay 0.3
 
 	txreq -url "/"
 	rxresp
 	expect resp.status == 200
-	expect resp.http.Age == 1
+	expect resp.http.Age <= 1
 } -run


More information about the varnish-commit mailing list