[master] 19c304a More tweaking of test-cases for Jenkins

Poul-Henning Kamp phk at varnish-cache.org
Tue Sep 17 16:40:05 CEST 2013


commit 19c304ac163cb92b750a074a3efd493d225068cf
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Sep 17 14:39:51 2013 +0000

    More tweaking of test-cases for Jenkins

diff --git a/bin/varnishtest/tests/c00058.vtc b/bin/varnishtest/tests/c00058.vtc
index f39e3e3..9811b79 100644
--- a/bin/varnishtest/tests/c00058.vtc
+++ b/bin/varnishtest/tests/c00058.vtc
@@ -10,7 +10,7 @@ server s1 {
 
 varnish v1 -vcl+backend { 
 	sub vcl_backend_response {
-		set beresp.ttl = 0.1s;
+		set beresp.ttl = 0.5s;
 		set beresp.grace = 10s;
 	}
 } -start
@@ -30,6 +30,7 @@ client c1 {
 
 	# But bg fetch was kicked off
 	sema r2 sync 2
+	delay .2
 
 	# And now we get the new object
 	txreq
diff --git a/bin/varnishtest/tests/r01284.vtc b/bin/varnishtest/tests/r01284.vtc
index b187505..aedd1df 100644
--- a/bin/varnishtest/tests/r01284.vtc
+++ b/bin/varnishtest/tests/r01284.vtc
@@ -11,6 +11,7 @@ server s1 {
 
 varnish v1 -arg "-p nuke_limit=0" -storage "-sTransient=malloc,1m" -vcl+backend {
 	sub vcl_backend_response {
+		set beresp.do_stream = false;
 		set beresp.storage = "Transient";
 	}
 } -start



More information about the varnish-commit mailing list