From e1471576a4d5863c79d991f0c654dc0131c3daca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Tisa=CC=88ter?= Date: Fri, 9 May 2014 02:43:48 +0200 Subject: [PATCH] Increase timeout for `WaitForResult` --- testutil/wait.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testutil/wait.go b/testutil/wait.go index 7eb49a8e4..dd51d8c26 100644 --- a/testutil/wait.go +++ b/testutil/wait.go @@ -10,10 +10,10 @@ type testFn func() (bool, error) type errorFn func(error) func WaitForResult(test testFn, error errorFn) { - retries := 100 // 5 seconds timeout + retries := 100 for retries > 0 { - time.Sleep(50 * time.Millisecond) + time.Sleep(100 * time.Millisecond) retries-- success, err := test()