File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -372,11 +372,11 @@ You can ensure that you get a number of consecutive successful tries before succ
372
372
373
373
Finally, in addition to passing timeouts and a context to Eventually you can be more explicit with Eventually's chaining configuration methods:
374
374
375
- Eventually(..., "1s ", "2s", ctx).Should(...)
375
+ Eventually(..., "10s ", "2s", ctx).Should(...)
376
376
377
377
is equivalent to
378
378
379
- Eventually(...).WithTimeout(time.Second).WithPolling(2*time.Second).WithContext(ctx).Should(...)
379
+ Eventually(...).WithTimeout(10* time.Second).WithPolling(2*time.Second).WithContext(ctx).Should(...)
380
380
*/
381
381
func Eventually (actualOrCtx interface {}, args ... interface {}) AsyncAssertion {
382
382
ensureDefaultGomegaIsConfigured ()
You can’t perform that action at this time.
0 commit comments