r3031 - trunk/varnish-cache/bin/varnishtest
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Wed Jul 30 14:18:57 CEST 2008
Author: tfheen
Date: 2008-07-30 14:18:57 +0200 (Wed, 30 Jul 2008)
New Revision: 3031
Modified:
trunk/varnish-cache/bin/varnishtest/vtc_varnish.c
Log:
Try to connect to CLI 30 times rather than 10 to avoid some timeout errors.
Modified: trunk/varnish-cache/bin/varnishtest/vtc_varnish.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_varnish.c 2008-07-30 10:53:38 UTC (rev 3030)
+++ trunk/varnish-cache/bin/varnishtest/vtc_varnish.c 2008-07-30 12:18:57 UTC (rev 3031)
@@ -222,7 +222,7 @@
AZ(pthread_create(&v->tp, NULL, varnish_thread, v));
vtc_log(v->vl, 3, "opening CLI connection");
- for (i = 0; i < 10; i++) {
+ for (i = 0; i < 30; i++) {
(void)usleep(200000);
v->cli_fd = VSS_open(v->telnet);
if (v->cli_fd >= 0)
More information about the varnish-commit
mailing list