From 9d58454b024698ce348b495f486c329f02519210 Mon Sep 17 00:00:00 2001 From: tfheen Date: Wed, 30 Jul 2008 12:18:57 +0000 Subject: [PATCH] Try to connect to CLI 30 times rather than 10 to avoid some timeout errors. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3031 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 09fecdac..b725339d 100644 --- a/varnish-cache/bin/varnishtest/vtc_varnish.c +++ b/varnish-cache/bin/varnishtest/vtc_varnish.c @@ -222,7 +222,7 @@ varnish_launch(struct varnish *v) 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) -- 2.39.5