package testutils

import "github.com/dotcloud/docker/pkg/testutils"

Index

Functions

func Timeout

func Timeout(t *testing.T, f func())

Timeout calls f and waits for 100ms for it to complete. If it doesn't, it causes the tests to fail. t must be a valid testing context.

Source Files

testutils.go

Version
v1.0.0
Published
Jun 8, 2014
Platform
js/wasm
Imports
2 packages
Last checked
35 minutes ago

Tools for package owners.