Documentation ¶
Index ¶
- func AlwaysFails(_ context.Context) error
- func AlwaysFailsFallback(_ context.Context, err error) error
- func AlwaysPasses(_ context.Context) error
- func AlwaysPassesFallback(_ context.Context, _ error) error
- func DoTillTime(endTime time.Time, wg *sync.WaitGroup, f func())
- func MustNotTesting(t *testing.T, err error)
- func MustTesting(t *testing.T, err error)
- func SleepsForX(d time.Duration) func(context.Context) error
- type BehaviorCheck
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlwaysFails ¶
AlwaysFails is a runFunc that always fails
func AlwaysFailsFallback ¶
AlwaysFailsFallback is a fallback circuit that always fails
func AlwaysPasses ¶
AlwaysPasses is a runFunc that always passes
func AlwaysPassesFallback ¶
AlwaysPassesFallback is a fallback circuit that always passes
func DoTillTime ¶
DoTillTime concurrently calls f() in a forever loop until endTime
func MustNotTesting ¶
MustNotTesting errors if err == nil
Types ¶
Click to show internal directories.
Click to hide internal directories.