[master] f3c5905 Add a small delay to stabilize this testcase.

Poul-Henning Kamp phk at FreeBSD.org
Mon Sep 28 11:27:53 CEST 2015


commit f3c5905e73ff3d1fcb62f021e399956ee8871e9f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Sep 28 09:27:28 2015 +0000

    Add a small delay to stabilize this testcase.

diff --git a/bin/varnishtest/tests/g00005.vtc b/bin/varnishtest/tests/g00005.vtc
index 158a264..bc47a5d 100644
--- a/bin/varnishtest/tests/g00005.vtc
+++ b/bin/varnishtest/tests/g00005.vtc
@@ -21,6 +21,10 @@ client c1 {
 	gunzip
 	expect resp.bodylen == "10"
 
+	# This delay attempts to ensure that the busyobj
+	# is completed before we attempt the range request
+	delay .2
+
 	txreq -hdr "Range: bytes=3-5"
 	rxresp
 	expect resp.http.content-encoding == "<undef>"



More information about the varnish-commit mailing list