Commit ee58c33a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

More test-case tweaking for Jenkins. This time based on actually

understanding what the test-cases do.
parent 19c304ac
...@@ -2,7 +2,7 @@ varnishtest "#1283 - Test failure to allocate object for error (transient full)" ...@@ -2,7 +2,7 @@ varnishtest "#1283 - Test failure to allocate object for error (transient full)"
server s1 { server s1 {
rxreq rxreq
txresp -bodylen 1048070 txresp -bodylen 1048140
} -start } -start
varnish v1 -arg "-p nuke_limit=0" -storage "-sTransient=malloc,1m" -vcl+backend { varnish v1 -arg "-p nuke_limit=0" -storage "-sTransient=malloc,1m" -vcl+backend {
...@@ -12,6 +12,7 @@ varnish v1 -arg "-p nuke_limit=0" -storage "-sTransient=malloc,1m" -vcl+backend ...@@ -12,6 +12,7 @@ varnish v1 -arg "-p nuke_limit=0" -storage "-sTransient=malloc,1m" -vcl+backend
} }
} }
sub vcl_backend_response { sub vcl_backend_response {
set beresp.do_stream = false;
set beresp.storage = "Transient"; set beresp.storage = "Transient";
} }
} -start } -start
......
...@@ -3,10 +3,10 @@ varnishtest "#1284 - Test resource cleanup after STV_NewObject fail in fetch" ...@@ -3,10 +3,10 @@ varnishtest "#1284 - Test resource cleanup after STV_NewObject fail in fetch"
server s1 { server s1 {
rxreq rxreq
expect req.url == "/obj1" expect req.url == "/obj1"
txresp -bodylen 1048070 txresp -bodylen 1048140
rxreq rxreq
expect req.url == "/obj2" expect req.url == "/obj2"
txresp -hdr "Long: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" -hdr "Long2: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" -hdr "Long3: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" txresp -hdr "Long: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" -hdr "Long2: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
} -start } -start
varnish v1 -arg "-p nuke_limit=0" -storage "-sTransient=malloc,1m" -vcl+backend { varnish v1 -arg "-p nuke_limit=0" -storage "-sTransient=malloc,1m" -vcl+backend {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment