Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2018-04-23 17:54:43 +0300
committerJacob Vosmaer <jacob@gitlab.com>2018-04-23 17:54:43 +0300
commit1d77cea5f78c20e475b80892e6e13378c8b7b4cd (patch)
tree6ff6a16a8e624289e726b5abf42939a97ba91eda
parent131ed9c894283c2d082d05e3c82d4ddfa22e9e17 (diff)
Extend startup timeout for ping test
-rw-r--r--internal/rubyserver/health_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rubyserver/health_test.go b/internal/rubyserver/health_test.go
index f5a870321..5d513b85d 100644
--- a/internal/rubyserver/health_test.go
+++ b/internal/rubyserver/health_test.go
@@ -18,7 +18,7 @@ func TestPingSuccess(t *testing.T) {
w := s.workers[0]
var pingErr error
- for start := time.Now(); time.Since(start) < 5*time.Second; time.Sleep(100 * time.Millisecond) {
+ for start := time.Now(); time.Since(start) < ConnectTimeout; time.Sleep(100 * time.Millisecond) {
pingErr = ping(w.address)
if pingErr == nil {
break