From b4bbd2f4416e6e2b6ce51f04e00563efdd4b38f7 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Thu, 26 Jan 2017 08:04:48 -0800 Subject: [PATCH] Adds more time to WaitForResult. The last change here made the time overall theoretically the same, but the overhead of running so quickly before probably meant that we were spending longer. Tests seemed marginal in Travis so doubling this to see how things go. --- testutil/wait.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testutil/wait.go b/testutil/wait.go index 40ae384ae0..b10028be70 100644 --- a/testutil/wait.go +++ b/testutil/wait.go @@ -11,7 +11,7 @@ type testFn func() (bool, error) type errorFn func(error) func WaitForResult(test testFn, error errorFn) { - retries := 100 + retries := 200 for retries > 0 { time.Sleep(100 * time.Millisecond)