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.9-beta.0
Published
Feb 23, 2016
Platform
linux/amd64
Imports
3 packages
Last checked
13 seconds ago

Tools for package owners.