testutil

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareWait

func CompareWait(cmp func() bool, timeout time.Duration) bool

func CompareWait1

func CompareWait1(cmp func() bool) bool

func CompareWait10

func CompareWait10(cmp func() bool) bool

func CompareWait100

func CompareWait100(cmp func() bool) bool

func CompareWaitError

func CompareWaitError(cmp func() (bool, error), timeout time.Duration) error

func CompareWaitErrorN

func CompareWaitErrorN(factor int64, cmp func() (bool, error)) error

func CompareWaitErrorWithRetryInterval

func CompareWaitErrorWithRetryInterval(cmp func() (bool, error), timeout time.Duration, retryInterval time.Duration) error

func CompareWaitErrorWithRetryIntervalN

func CompareWaitErrorWithRetryIntervalN(factor int64, retryInterval time.Duration, cmp func() (bool, error)) error

func CompareWaitN

func CompareWaitN(factor int64, cmp func() bool) bool

func GetFunctionName

func GetFunctionName(i interface{}) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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