Commit fcf77dec authored by Joshua Bussdieker's avatar Joshua Bussdieker

These tests depend on the size of struct object :(

parent 39934253
...@@ -2,17 +2,17 @@ varnishtest "Object/LRU/Stevedores" ...@@ -2,17 +2,17 @@ varnishtest "Object/LRU/Stevedores"
server s1 { server s1 {
rxreq rxreq
txresp -bodylen 1048092 txresp -bodylen 1048084
rxreq rxreq
txresp -bodylen 1048093 txresp -bodylen 1048085
rxreq rxreq
txresp -bodylen 1048094 txresp -bodylen 1048086
rxreq rxreq
txresp -bodylen 1048095 txresp -bodylen 1048087
rxreq rxreq
txresp -bodylen 1048096 txresp -bodylen 1048088
} -start } -start
varnish v1 -storage "-smalloc,1m -smalloc,1m, -smalloc,1m" -vcl+backend { varnish v1 -storage "-smalloc,1m -smalloc,1m, -smalloc,1m" -vcl+backend {
...@@ -26,7 +26,7 @@ client c1 { ...@@ -26,7 +26,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 == 1048084
} -run } -run
varnish v1 -expect SMA.Transient.g_bytes == 0 varnish v1 -expect SMA.Transient.g_bytes == 0
...@@ -41,7 +41,7 @@ client c1 { ...@@ -41,7 +41,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 == 1048085
} -run } -run
varnish v1 -expect SMA.Transient.g_bytes == 0 varnish v1 -expect SMA.Transient.g_bytes == 0
...@@ -56,7 +56,7 @@ client c1 { ...@@ -56,7 +56,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 == 1048086
} -run } -run
varnish v1 -expect SMA.Transient.g_bytes == 0 varnish v1 -expect SMA.Transient.g_bytes == 0
...@@ -71,7 +71,7 @@ client c1 { ...@@ -71,7 +71,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 == 1048087
} -run } -run
varnish v1 -expect n_lru_nuked == 1 varnish v1 -expect n_lru_nuked == 1
...@@ -80,7 +80,7 @@ client c1 { ...@@ -80,7 +80,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 == 1048088
} -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 1048092 txresp -bodylen 1048084
rxreq rxreq
txresp -bodylen 1048093 txresp -bodylen 1048085
rxreq rxreq
txresp -bodylen 1048094 txresp -bodylen 1048086
} -start } -start
varnish v1 -storage "-smalloc,1m -smalloc,1m, -smalloc,1m" -vcl+backend { varnish v1 -storage "-smalloc,1m -smalloc,1m, -smalloc,1m" -vcl+backend {
...@@ -20,7 +20,7 @@ client c1 { ...@@ -20,7 +20,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 == 1048084
} -run } -run
varnish v1 -expect SMA.Transient.g_bytes == 0 varnish v1 -expect SMA.Transient.g_bytes == 0
...@@ -35,7 +35,7 @@ client c1 { ...@@ -35,7 +35,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 == 1048085
} -run } -run
varnish v1 -expect n_lru_nuked == 1 varnish v1 -expect n_lru_nuked == 1
...@@ -51,7 +51,7 @@ client c1 { ...@@ -51,7 +51,7 @@ client c1 {
txreq -url /foo txreq -url /foo
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
expect resp.bodylen == 1048094 expect resp.bodylen == 1048086
} -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