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"
server s1 {
rxreq
txresp -bodylen 1048092
txresp -bodylen 1048182
rxreq
txresp -bodylen 1048093
txresp -bodylen 1048183
rxreq
txresp -bodylen 1048094
txresp -bodylen 1048184
rxreq
txresp -bodylen 1048095
txresp -bodylen 1048185
rxreq
txresp -bodylen 1048096
txresp -bodylen 1048186
} -start
varnish v1 -storage "-smalloc,1m -smalloc,1m, -smalloc,1m" -vcl+backend {
sub vcl_backend_response {
set beresp.do_stream = false;
set beresp.storage = "invalid";
}
} -start
......@@ -26,7 +27,7 @@ client c1 {
txreq -url /foo
rxresp
expect resp.status == 200
expect resp.bodylen == 1048092
expect resp.bodylen == 1048182
} -run
varnish v1 -expect SMA.Transient.g_bytes == 0
......@@ -41,7 +42,7 @@ client c1 {
txreq -url /bar
rxresp
expect resp.status == 200
expect resp.bodylen == 1048093
expect resp.bodylen == 1048183
} -run
varnish v1 -expect SMA.Transient.g_bytes == 0
......@@ -56,7 +57,7 @@ client c1 {
txreq -url /burp
rxresp
expect resp.status == 200
expect resp.bodylen == 1048094
expect resp.bodylen == 1048184
} -run
varnish v1 -expect SMA.Transient.g_bytes == 0
......@@ -71,7 +72,7 @@ client c1 {
txreq -url /foo1
rxresp
expect resp.status == 200
expect resp.bodylen == 1048095
expect resp.bodylen == 1048185
} -run
varnish v1 -expect n_lru_nuked == 1
......@@ -80,7 +81,7 @@ client c1 {
txreq -url /foo
rxresp
expect resp.status == 200
expect resp.bodylen == 1048096
expect resp.bodylen == 1048186
} -run
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