test

package
v5.4.39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(needle string) gomock.Matcher

func FreeTCPPort

func FreeTCPPort() (port int)

FreeTCPPort asks the kernel for a free open port that is ready to use. Taken from https://gist.github.com/sevkin/96bdae9274465b2d09191384f86ef39d

func WaitFor

func WaitFor(t testing.TB, p Predicate, timeout time.Duration, message string, msgArgs ...interface{}) bool

func WaitForNoFail

func WaitForNoFail(t testing.TB, p Predicate, timeout time.Duration) bool

Types

type Predicate

type Predicate func() (bool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL