From 9f53405d422e95b77f42d6e61b0fc810bb02f890 Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Mon, 15 Jun 2015 02:25:27 +0000 Subject: [PATCH] increase timeout for nested concurrent test that is still intermittently timing out in travis --- contrib/mesos/pkg/proc/proc_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/mesos/pkg/proc/proc_test.go b/contrib/mesos/pkg/proc/proc_test.go index c645c31cbaa..793ae8ed0c4 100644 --- a/contrib/mesos/pkg/proc/proc_test.go +++ b/contrib/mesos/pkg/proc/proc_test.go @@ -356,7 +356,10 @@ func TestProc_doWithNestedXConcurrent(t *testing.T) { var wg sync.WaitGroup const CONC = 20 wg.Add(CONC) - timeout := 3 * time.Second + + // this test spins up TONS of goroutines that can take a little while to execute on a busy + // CI server. drawing the line at 10s because I've never seen it take anywhere near that long. + timeout := 10 * time.Second for i := 0; i < CONC; i++ { i := i