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.4
Published
Jan 8, 2016
Platform
windows/amd64
Imports
3 packages
Last checked
14 minutes ago

Tools for package owners.