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

Polish, yet again, specific sizes to make this pass on both

32 and 64 bit architectures.

The good news is that this is necessary because our obj overhead
decreases.
parent 1e94b378
...@@ -16,12 +16,15 @@ varnish v1 -vcl+backend { ...@@ -16,12 +16,15 @@ varnish v1 -vcl+backend {
} }
} -start } -start
varnish v1 -cliok "param.set default_grace 0"
varnish v1 -cliok "param.set default_keep 0"
client c1 { client c1 {
txreq -url "/" txreq -url "/"
rxresp rxresp
expect resp.status == 523 expect resp.status == 523
} -run } -run
delay 10 delay 4
varnish v1 -expect n_object == 0 varnish v1 -expect n_object == 0
...@@ -2,17 +2,17 @@ varnishtest "Object/LRU/Stevedores" ...@@ -2,17 +2,17 @@ varnishtest "Object/LRU/Stevedores"
server s1 { server s1 {
rxreq rxreq
txresp -bodylen 1048182 txresp -bodylen 1048190
rxreq rxreq
txresp -bodylen 1048183 txresp -bodylen 1048191
rxreq rxreq
txresp -bodylen 1048184 txresp -bodylen 1048192
rxreq rxreq
txresp -bodylen 1048185 txresp -bodylen 1048193
rxreq rxreq
txresp -bodylen 1048186 txresp -bodylen 1048194
} -start } -start
varnish v1 -storage "-smalloc,1m -smalloc,1m, -smalloc,1m" -vcl+backend { varnish v1 -storage "-smalloc,1m -smalloc,1m, -smalloc,1m" -vcl+backend {
...@@ -27,7 +27,7 @@ client c1 { ...@@ -27,7 +27,7 @@ client c1 {
txreq -url /foo txreq -url /foo
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048182 expect resp.bodylen == 1048190
} -run } -run
varnish v1 -expect SMA.Transient.g_bytes == 0 varnish v1 -expect SMA.Transient.g_bytes == 0
...@@ -42,7 +42,7 @@ client c1 { ...@@ -42,7 +42,7 @@ client c1 {
txreq -url /bar txreq -url /bar
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048183 expect resp.bodylen == 1048191
} -run } -run
varnish v1 -expect SMA.Transient.g_bytes == 0 varnish v1 -expect SMA.Transient.g_bytes == 0
...@@ -57,7 +57,7 @@ client c1 { ...@@ -57,7 +57,7 @@ client c1 {
txreq -url /burp txreq -url /burp
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048184 expect resp.bodylen == 1048192
} -run } -run
varnish v1 -expect SMA.Transient.g_bytes == 0 varnish v1 -expect SMA.Transient.g_bytes == 0
...@@ -72,7 +72,7 @@ client c1 { ...@@ -72,7 +72,7 @@ client c1 {
txreq -url /foo1 txreq -url /foo1
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048185 expect resp.bodylen == 1048193
} -run } -run
varnish v1 -expect n_lru_nuked == 1 varnish v1 -expect n_lru_nuked == 1
...@@ -81,7 +81,7 @@ client c1 { ...@@ -81,7 +81,7 @@ client c1 {
txreq -url /foo txreq -url /foo
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048186 expect resp.bodylen == 1048194
} -run } -run
varnish v1 -expect n_lru_nuked == 2 varnish v1 -expect n_lru_nuked == 2
...@@ -2,11 +2,11 @@ varnishtest "Object/LRU/Stevedores with hinting" ...@@ -2,11 +2,11 @@ varnishtest "Object/LRU/Stevedores with hinting"
server s1 { server s1 {
rxreq rxreq
txresp -bodylen 1048180 txresp -bodylen 1048188
rxreq rxreq
txresp -bodylen 1048181 txresp -bodylen 1048189
rxreq rxreq
txresp -bodylen 1048182 txresp -bodylen 1048190
} -start } -start
varnish v1 -storage "-smalloc,1m -smalloc,1m, -smalloc,1m" -vcl+backend { varnish v1 -storage "-smalloc,1m -smalloc,1m, -smalloc,1m" -vcl+backend {
...@@ -21,7 +21,7 @@ client c1 { ...@@ -21,7 +21,7 @@ client c1 {
txreq -url /foo txreq -url /foo
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048180 expect resp.bodylen == 1048188
} -run } -run
varnish v1 -expect SMA.Transient.g_bytes == 0 varnish v1 -expect SMA.Transient.g_bytes == 0
...@@ -36,7 +36,7 @@ client c1 { ...@@ -36,7 +36,7 @@ client c1 {
txreq -url /bar txreq -url /bar
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048181 expect resp.bodylen == 1048189
} -run } -run
varnish v1 -expect n_lru_nuked == 1 varnish v1 -expect n_lru_nuked == 1
...@@ -52,7 +52,7 @@ client c1 { ...@@ -52,7 +52,7 @@ client c1 {
txreq -url /foo txreq -url /foo
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048182 expect resp.bodylen == 1048190
} -run } -run
varnish v1 -expect n_lru_nuked == 2 varnish v1 -expect n_lru_nuked == 2
......
...@@ -4,7 +4,7 @@ server s1 { ...@@ -4,7 +4,7 @@ server s1 {
# This response should almost completely fill the storage # This response should almost completely fill the storage
rxreq rxreq
expect req.url == /url1 expect req.url == /url1
txresp -bodylen 1048108 txresp -bodylen 1048208
# The next one should not fit in the storage, ending up in transient # The next one should not fit in the storage, ending up in transient
# with zero ttl (=shortlived) # with zero ttl (=shortlived)
...@@ -29,7 +29,7 @@ client c1 { ...@@ -29,7 +29,7 @@ client c1 {
txreq -url /url1 txreq -url /url1
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048108 expect resp.bodylen == 1048208
} -run } -run
delay .1 delay .1
......
...@@ -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 1048148 txresp -bodylen 1048198
} -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 {
......
...@@ -3,7 +3,7 @@ varnishtest "#1284 - Test resource cleanup after STV_NewObject fail in fetch" ...@@ -3,7 +3,7 @@ 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 1048140 txresp -bodylen 1048190
rxreq rxreq
expect req.url == "/obj2" expect req.url == "/obj2"
txresp -hdr "Long: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" -hdr "Long2: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" txresp -hdr "Long: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" -hdr "Long2: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
......
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