mirror of https://github.com/status-im/consul.git
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:
parent
0e6d482f99
commit
b4bbd2f441
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue