From b2afeec4f7e05f4c0eaff696523ff5bd29d64c12 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 26 Jun 2008 09:22:46 +0000 Subject: [PATCH] Use 10 second CLI timeout git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2817 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishtest/vtc_varnish.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishtest/vtc_varnish.c b/varnish-cache/bin/varnishtest/vtc_varnish.c index 8afc7840..b8e6897e 100644 --- a/varnish-cache/bin/varnishtest/vtc_varnish.c +++ b/varnish-cache/bin/varnishtest/vtc_varnish.c @@ -89,7 +89,7 @@ varnish_ask_cli(const struct varnish *v, const char *cmd, char **repl) assert(i == strlen(cmd)); i = write(v->cli_fd, "\n", 1); assert(i == 1); - i = cli_readres(v->cli_fd, &retval, &r, 1.0); + i = cli_readres(v->cli_fd, &retval, &r, 10.0); assert(i == 0); vtc_dump(v->vl, 4, "CLI RX", r); vtc_log(v->vl, 3, "CLI STATUS %u", retval); -- 2.39.5