package assert
import "k8s.io/kubernetes/contrib/mesos/pkg/assert"
Package assert is an utility package containing reusable testing functionality extending github.com/stretchr/testify/assert
Index ¶
Functions ¶
func EventuallyTrue ¶
func EventuallyTrue(t *testing.T, timeout time.Duration, fn func() bool, msgAndArgs ...interface{}) bool
EventuallyTrue asserts that the given predicate becomes true within the given timeout. It checks the predicate regularly each 100ms.
Source Files ¶
assert.go doc.go
- Version
- v1.1.4-beta.0
- Published
- Dec 7, 2015
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 1 minute ago –
Tools for package owners.