[master] 8053635 Tune another test-case

Poul-Henning Kamp phk at varnish-cache.org
Tue Sep 17 19:09:26 CEST 2013


commit 8053635e8f901bfb3b8812dbc73fa9c266472cb0
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Sep 17 17:09:16 2013 +0000

    Tune another test-case

diff --git a/bin/varnishtest/tests/c00045.vtc b/bin/varnishtest/tests/c00045.vtc
index b150770..73d87a6 100644
--- a/bin/varnishtest/tests/c00045.vtc
+++ b/bin/varnishtest/tests/c00045.vtc
@@ -2,15 +2,16 @@ varnishtest	"Object/LRU/Stevedores with hinting"
 
 server s1 {
 	rxreq
-	txresp -bodylen 1048092
+	txresp -bodylen 1048172
 	rxreq
-	txresp -bodylen 1048093
+	txresp -bodylen 1048173
 	rxreq
-	txresp -bodylen 1048094
+	txresp -bodylen 1048174
 } -start
 
 varnish v1 -storage "-smalloc,1m -smalloc,1m, -smalloc,1m" -vcl+backend {
 	sub vcl_backend_response {
+		set beresp.do_stream = false;
 		set beresp.storage = "s0";
 	}
 } -start
@@ -20,7 +21,7 @@ client c1 {
 	txreq -url /foo
 	rxresp
 	expect resp.status == 200
-	expect resp.bodylen == 1048092
+	expect resp.bodylen == 1048172
 } -run
 
 varnish v1 -expect SMA.Transient.g_bytes == 0
@@ -35,7 +36,7 @@ client c1 {
 	txreq -url /bar
 	rxresp
 	expect resp.status == 200
-	expect resp.bodylen == 1048093
+	expect resp.bodylen == 1048173
 } -run
 
 varnish v1 -expect n_lru_nuked == 1
@@ -51,7 +52,7 @@ client c1 {
 	txreq -url /foo
 	rxresp
 	expect resp.status == 200
-	expect resp.bodylen == 1048094
+	expect resp.bodylen == 1048174
 } -run
 
 varnish v1 -expect n_lru_nuked == 2



More information about the varnish-commit mailing list