package
3.6.0-alpha.0
Repository: https://github.com/etcd-io/etcd.git
Documentation: pkg.go.dev

# Functions

CheckAfterTest returns an error if AfterTest would fail with an error.
CheckLeakedGoroutine verifies tests do not leave any leaky goroutines.
ExitInShortMode closes the current process (with 0) if the short test mode detected.
FatalStack helps to fatal the test and print out the stacks of all running goroutines.
MustTestMainWithLeakDetection expands standard m.Run with leaked goroutines detection.
NewTestingTBProthesis creates a fake variant of testing.TB implementation.
Poll calls a condition function repeatedly on a polling interval until it returns true, returns an error or the timeout is reached.
RegisterLeakDetection is a convenient way to register before-and-after code to a test.
WaitSchedule briefly sleeps in order to invoke the go scheduler.

# Variables

# Structs

RecorderBuffered appends all Actions to a slice.

# Interfaces

TB is a subset of methods of testing.TB interface.

# Type aliases

ConditionFunc returns true when a condition is met.