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.1
Published
Jun 19, 2014
Platform
windows/amd64
Imports
2 packages
Last checked
11 seconds ago

Tools for package owners.