[master] 6f50b7c8f vtc: Fix c113

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Feb 8 13:54:05 UTC 2023


commit 6f50b7c8f2cd1f18b29e407664fe8648032f09ae
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Wed Feb 8 14:52:30 2023 +0100

    vtc: Fix c113
    
    I changed Walid's test to make it run faster and created an unfortunate
    race condition as a result.

diff --git a/bin/varnishtest/tests/c00113.vtc b/bin/varnishtest/tests/c00113.vtc
index 978eb8a88..4a02cf8f1 100644
--- a/bin/varnishtest/tests/c00113.vtc
+++ b/bin/varnishtest/tests/c00113.vtc
@@ -14,7 +14,7 @@ varnish v1 -vcl+backend {
 		.interval = 0.1s;
 		.expect_close = true;
 	}
-} -start
+}
 
 varnish v2 -vcl+backend {
 	probe default {
@@ -24,7 +24,10 @@ varnish v2 -vcl+backend {
 		.interval = 0.1s;
 		.expect_close = false;
 	}
-} -start
+}
+
+varnish v1 -start
+varnish v2 -start
 
 delay 0.5
 


More information about the varnish-commit mailing list