kubernetesk8s.io/kubernetes/contrib/mesos/pkg/assert Index | Files

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.1
Published
Nov 9, 2015
Platform
js/wasm
Imports
3 packages
Last checked
56 seconds ago

Tools for package owners.