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.
This commit is contained in:
James Phillips 2017-01-26 08:04:48 -08:00 committed by GitHub
parent 0e6d482f99
commit b4bbd2f441
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ type testFn func() (bool, error)
type errorFn func(error) type errorFn func(error)
func WaitForResult(test testFn, error errorFn) { func WaitForResult(test testFn, error errorFn) {
retries := 100 retries := 200
for retries > 0 { for retries > 0 {
time.Sleep(100 * time.Millisecond) time.Sleep(100 * time.Millisecond)