[master] 9a19fa438 Simplify r02976.vtc furtherer

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Jun 24 16:12:07 UTC 2019


commit 9a19fa4386d5a2a548f18883a9de09599cd65e9a
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Jun 24 18:09:48 2019 +0200

    Simplify r02976.vtc furtherer
    
    I was wrong, or I lied. This is the final cleanup.

diff --git a/bin/varnishtest/tests/r02976.vtc b/bin/varnishtest/tests/r02976.vtc
index f3a7aa2ce..fdfe50fdf 100644
--- a/bin/varnishtest/tests/r02976.vtc
+++ b/bin/varnishtest/tests/r02976.vtc
@@ -1,30 +1,8 @@
 varnishtest "Detect probe interval inversion"
 
-barrier bprobe cond 2
-
-server s1 {
-	# 5 probe requests
-	rxreq
-	txresp
-	close
-	accept
-	rxreq
-	txresp
-	close
-	accept
-	rxreq
-	txresp
-	close
-	accept
-	rxreq
-	txresp
-	close
-	accept
+server s1 -repeat 5 { # probe requests
 	rxreq
 	txresp
-	close
-	accept
-	barrier bprobe sync
 } -start
 
 varnish v1 -cliok {param.set vcc_err_unref off}
@@ -41,4 +19,4 @@ varnish v1 -vcl {
 	}
 } -start
 
-barrier bprobe sync
+server s1 -wait


More information about the varnish-commit mailing list