Commit 11ff7d5d authored by Nils Goroll's avatar Nils Goroll

vtc -wait-running should wait for varnish to accept

I wonder if maybe varnishd start should not return before accepting?
parent 5aaf7cb3
......@@ -172,6 +172,11 @@ wait_running(const struct varnish *v)
vtc_fatal(v->vl,
"Child stopped before running: %u %s", st, r);
if (!strcmp(r, "Child in state running")) {
st = varnish_ask_cli(v, "debug.listen_address", &r);
if (st != CLIS_OK)
vtc_fatal(v->vl,
"CLI status command failed: %u %s",
st, r);
free(r);
break;
}
......
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