Commit 55d42f10 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

To prevent masking bugs, disable auto_restart by default.

Enable it explicitly in the one testcase where we check that it works.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3769 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent f671a30a
......@@ -17,7 +17,12 @@ varnish v1 -vcl+backend {
panic "Had Panic header: " obj.http.panic;
}
}
} -start -cli "param.set diag_bitmap 0x00001000"
} -start
varnish v1 -cliok "param.set diag_bitmap 0x00001000"
# varnishtest defaults to auto_restart off, to avoid masking bugs.
varnish v1 -cliok "param.set auto_restart on"
client c1 {
......
......@@ -208,6 +208,7 @@ varnish_launch(struct varnish *v)
vsb_printf(vsb, "cd ../varnishd &&");
vsb_printf(vsb, " ./varnishd -d -d -n /tmp/__%s", v->name);
vsb_printf(vsb, " -p cli_banner=off");
vsb_printf(vsb, " -p auto_restart=off");
vsb_printf(vsb, " -a '%s' -T %s", v->accept, v->telnet);
vsb_printf(vsb, " -P /tmp/__%s/varnishd.pid", v->name);
vsb_printf(vsb, " %s", v->args);
......
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