[4.0] 497897e bump the varnishtest CLI timeout from 20 to 30 seconds
Lasse Karstensen
lkarsten at varnish-software.com
Thu Jan 15 16:35:42 CET 2015
commit 497897e9b1a87db25fb04de67dd9a2079efe21b4
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Wed Dec 3 14:55:58 2014 +0100
bump the varnishtest CLI timeout from 20 to 30 seconds
This avoids false negatives with slow name resolutions
diff --git a/bin/varnishtest/vtc_varnish.c b/bin/varnishtest/vtc_varnish.c
index 92027ba..5ebac71 100644
--- a/bin/varnishtest/vtc_varnish.c
+++ b/bin/varnishtest/vtc_varnish.c
@@ -98,7 +98,7 @@ varnish_ask_cli(const struct varnish *v, const char *cmd, char **repl)
i = write(v->cli_fd, "\n", 1);
assert(i == 1);
}
- i = VCLI_ReadResult(v->cli_fd, &retval, &r, 20.0);
+ i = VCLI_ReadResult(v->cli_fd, &retval, &r, 30.0);
if (i != 0) {
vtc_log(v->vl, 0, "CLI failed (%s) = %d %u %s",
cmd, i, retval, r);
More information about the varnish-commit
mailing list