[master] 5d9f6b8 make newly introduced vtcs less timing-critical

Nils Goroll nils.goroll at uplex.de
Mon Sep 12 13:52:11 CEST 2016


commit 5d9f6b8f393c72e65650ac6033a3cbb981b3407c
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Sep 12 13:50:04 2016 +0200

    make newly introduced vtcs less timing-critical
    
    Follow-up 9095c5cfbac7fa3cb48257f6631f24239b30ee45
    
    Belongs to #2057

diff --git a/bin/varnishtest/tests/c00012.vtc b/bin/varnishtest/tests/c00012.vtc
index e1c5883..a45b291 100644
--- a/bin/varnishtest/tests/c00012.vtc
+++ b/bin/varnishtest/tests/c00012.vtc
@@ -29,7 +29,7 @@ client c1 {
 	expect resp.bodylen == 6
 	expect resp.http.x-varnish == "1001"
 	expect resp.http.o_age ~ "^0"
-	expect resp.http.o_ttl == "-0.000"
+	expect resp.http.o_ttl ~ "^-0"
 	expect resp.http.o_grace == "0.000"
 	expect resp.http.o_keep == "0.000"
 
@@ -39,7 +39,7 @@ client c1 {
 	expect resp.bodylen == 7
 	expect resp.http.x-varnish == "1003"
 	expect resp.http.o_age ~ "^0"
-	expect resp.http.o_ttl == "-0.000"
+	expect resp.http.o_ttl ~ "^-0"
 	expect resp.http.o_grace == "0.000"
 	expect resp.http.o_keep == "0.000"
 }



More information about the varnish-commit mailing list