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

More test-case finetuning.

I'm never going to change the size of struct obj again...
parent 8053635e
...@@ -2,21 +2,22 @@ varnishtest "Object/LRU/Stevedores" ...@@ -2,21 +2,22 @@ varnishtest "Object/LRU/Stevedores"
server s1 { server s1 {
rxreq rxreq
txresp -bodylen 1048092 txresp -bodylen 1048182
rxreq rxreq
txresp -bodylen 1048093 txresp -bodylen 1048183
rxreq rxreq
txresp -bodylen 1048094 txresp -bodylen 1048184
rxreq rxreq
txresp -bodylen 1048095 txresp -bodylen 1048185
rxreq rxreq
txresp -bodylen 1048096 txresp -bodylen 1048186
} -start } -start
varnish v1 -storage "-smalloc,1m -smalloc,1m, -smalloc,1m" -vcl+backend { varnish v1 -storage "-smalloc,1m -smalloc,1m, -smalloc,1m" -vcl+backend {
sub vcl_backend_response { sub vcl_backend_response {
set beresp.do_stream = false;
set beresp.storage = "invalid"; set beresp.storage = "invalid";
} }
} -start } -start
...@@ -26,7 +27,7 @@ client c1 { ...@@ -26,7 +27,7 @@ client c1 {
txreq -url /foo txreq -url /foo
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048092 expect resp.bodylen == 1048182
} -run } -run
varnish v1 -expect SMA.Transient.g_bytes == 0 varnish v1 -expect SMA.Transient.g_bytes == 0
...@@ -41,7 +42,7 @@ client c1 { ...@@ -41,7 +42,7 @@ client c1 {
txreq -url /bar txreq -url /bar
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048093 expect resp.bodylen == 1048183
} -run } -run
varnish v1 -expect SMA.Transient.g_bytes == 0 varnish v1 -expect SMA.Transient.g_bytes == 0
...@@ -56,7 +57,7 @@ client c1 { ...@@ -56,7 +57,7 @@ client c1 {
txreq -url /burp txreq -url /burp
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048094 expect resp.bodylen == 1048184
} -run } -run
varnish v1 -expect SMA.Transient.g_bytes == 0 varnish v1 -expect SMA.Transient.g_bytes == 0
...@@ -71,7 +72,7 @@ client c1 { ...@@ -71,7 +72,7 @@ client c1 {
txreq -url /foo1 txreq -url /foo1
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048095 expect resp.bodylen == 1048185
} -run } -run
varnish v1 -expect n_lru_nuked == 1 varnish v1 -expect n_lru_nuked == 1
...@@ -80,7 +81,7 @@ client c1 { ...@@ -80,7 +81,7 @@ client c1 {
txreq -url /foo txreq -url /foo
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048096 expect resp.bodylen == 1048186
} -run } -run
varnish v1 -expect n_lru_nuked == 2 varnish v1 -expect n_lru_nuked == 2
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