Documentation ¶
Index ¶
- func CopyFile(src, dst string) error
- func ExpectFailure(t *testing.T, f func(tt testing.TB))
- func NewAfInstance(t testing.TB, name, cfg string) *afInstance
- func NewAquariumFish(t testing.TB, name, cfg string, args ...string) *afInstance
- func Retry(r Retryer, t Failer, f func(r *R))
- type Counter
- type Failer
- type MockT
- type R
- type Retryer
- type Timer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAfInstance ¶
If you need to create instance without starting it up right away
func NewAquariumFish ¶
Simple creates and run the fish node
Types ¶
type Counter ¶
Counter repeats an operation a given number of times and waits between subsequent operations.
type Failer ¶
type Failer interface { Helper() // Log is called for the final test output Log(args ...any) // FailNow is called when the retrying is abandoned. FailNow() }
Failer is an interface compatible with testing.T.
type R ¶
type R struct {
// contains filtered or unexported fields
}
R provides context for the retryer.
Click to show internal directories.
Click to hide internal directories.