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
v0.12.0
Published
Jun 6, 2014
Platform
darwin/amd64
Imports
2 packages
Last checked
1 minute ago

Tools for package owners.