Commit 55fecc94 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

vtc: Bump stack for ESI tests tight on 32bit systems

Refs #4063
parent ca982933
......@@ -26,10 +26,11 @@ server s1 {
}
} -start
varnish v1 \
-syntax 4.0 \
-arg "-p feature=+esi_disable_xml_check" \
-vcl+backend {
# give enough stack to 32bit systems
varnish v1 -cliok "param.set thread_pool_stack 80k"
varnish v1 -cliok "param.set feature +esi_disable_xml_check"
varnish v1 -syntax 4.0 -vcl+backend {
sub vcl_backend_response {
set beresp.do_esi = true;
}
......
varnishtest "Test req_top.* in an ESI context"
varnish v1 -arg "-p feature=+esi_disable_xml_check" \
-errvcl {Variable is read only.} {
varnish v1 -errvcl {Variable is read only.} {
backend foo None;
sub vcl_recv {
......@@ -52,6 +51,10 @@ server s1 {
txresp
} -start
# give enough stack to 32bit systems
varnish v1 -cliok "param.set thread_pool_stack 80k"
varnish v1 -cliok "param.set feature +esi_disable_xml_check"
varnish v1 -vcl+backend {
sub vcl_recv {
if (req.esi_level > 0) {
......
......@@ -72,6 +72,9 @@ server s1 {
}
} -start
# give enough stack to 32bit systems
varnish v1 -cliok "param.set thread_pool_stack 80k"
varnish v1 -syntax 4.1 -vcl+backend {
import debug;
......
......@@ -14,6 +14,9 @@ server s1 {
txresp -body {123}
} -start
# give enough stack to 32bit systems
varnish v1 -cliok "param.set thread_pool_stack 80k"
varnish v1 -vcl+backend {
sub vcl_backend_response {
if (bereq.url != "/2") {
......
......@@ -23,7 +23,11 @@ server s1 {
rxresp
} -start
varnish v1 -arg "-p feature=+esi_disable_xml_check" -vcl+backend {
# give enough stack to 32bit systems
varnish v1 -cliok "param.set thread_pool_stack 80k"
varnish v1 -cliok "param.set feature +esi_disable_xml_check"
varnish v1 -vcl+backend {
sub vcl_backend_response {
set beresp.do_esi = true;
}
......
......@@ -13,7 +13,11 @@ server s1 {
txresp -body {Foo}
} -start
varnish v1 -arg "-p feature=+esi_disable_xml_check" -vcl+backend {
# give enough stack to 32bit systems
varnish v1 -cliok "param.set thread_pool_stack 80k"
varnish v1 -cliok "param.set feature +esi_disable_xml_check"
varnish v1 -vcl+backend {
sub vcl_backend_response {
set beresp.do_gzip = true;
set beresp.do_esi = true;
......
......@@ -14,6 +14,9 @@ server s1 {
txresp -hdr "id: bar" -body "<3>bar</3>"
} -start
# give enough stack to 32bit systems
varnish v1 -cliok "param.set thread_pool_stack 80k"
varnish v1 -vcl+backend {
sub vcl_backend_response {
if (bereq.url != "/bar") {
......
......@@ -22,6 +22,9 @@ server s1 {
txresp -body {<P2/><esi:include src="/l3"/><P2/>}
} -start
# give enough stack to 32bit systems
varnish v1 -cliok "param.set thread_pool_stack 80k"
varnish v1 -vcl+backend {
sub vcl_recv {
if (req.url == "/l3") {
......
......@@ -33,6 +33,9 @@ server s1 {
txresp
} -start
# give enough stack to 32bit systems
varnish v1 -cliok "param.set thread_pool_stack 80k"
varnish v1 -vcl+backend {
import debug;
......
......@@ -71,7 +71,11 @@ varnish v1 -errvcl "Not available in subroutine 'vcl_init'" {
}
}
varnish v1 -cliok "param.set debug +syncvsl" -vcl+backend {
# give enough stack to 32bit systems
varnish v1 -cliok "param.set thread_pool_stack 80k"
varnish v1 -cliok "param.set debug +syncvsl"
varnish v1 -vcl+backend {
import debug;
sub vcl_init {
......
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