MCPcopy Create free account
hub / github.com/corestoreio/pkg / Eventually

Function Eventually

util/assert/assertions.go:1558–1585  ·  view source on GitHub ↗

Eventually asserts that given condition will be met in waitFor time, periodically checking target function each tick. assert.Eventually(t, func() bool { return true; }, time.Second, 10*time.Millisecond)

(t TestingT, condition func() bool, waitFor time.Duration, tick time.Duration, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

FailFunction · 0.85
HelperMethod · 0.80
StopMethod · 0.45

Tested by

no test coverage detected