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

Tools for package owners.