[master] 12ceffa Add small delays to improve the chances of logexpect working

Poul-Henning Kamp phk at FreeBSD.org
Wed Nov 29 14:48:07 UTC 2017


commit 12ceffa052e86de7a57a55d871134429f224aa86
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Nov 29 14:46:58 2017 +0000

    Add small delays to improve the chances of logexpect working

diff --git a/bin/varnishtest/tests/c00082.vtc b/bin/varnishtest/tests/c00082.vtc
index 65da5ad..d9c687e 100644
--- a/bin/varnishtest/tests/c00082.vtc
+++ b/bin/varnishtest/tests/c00082.vtc
@@ -51,14 +51,20 @@ client c1 {
 	rxresp
 	expect resp.http.Obj-Hits == 0
 
+	delay .1
+
 	txreq
 	rxresp
 	expect resp.http.Obj-Hits == 0
 
+	delay .1
+
 	txreq -hdr "Hash: always-miss"
 	rxresp
 	expect resp.http.Obj-Hits == 0
 
+	delay .1
+
 	txreq
 	rxresp
 	expect resp.http.Obj-Hits == 1


More information about the varnish-commit mailing list