Documentation
¶
Index ¶
- func AllocOpenBindAddr(t *testing.T) string
- func InstallZapLogger(t *testing.T)
- func NewTestLogger(t *testing.T) *zap.Logger
- func OperationsWithDefaults(op *v1.Operation, ops []*v1.Operation) []*v1.Operation
- func RandomOperation() *v1.Operation
- func Retry(t *testing.T, ctx context.Context, f func() error) error
- func Try(t *testing.T, ctx context.Context, f func() error)
- func TryNonfatal(t *testing.T, ctx context.Context, f func() error)
- func WithDeadlineFromTest(t *testing.T, ctx context.Context) (context.Context, context.CancelFunc)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllocOpenBindAddr ¶ added in v1.9.0
func InstallZapLogger ¶
InstallZapLogger sets up a global zap logger for testing purposes.
func NewTestLogger ¶ added in v1.9.0
NewTestLogger creates a zap logger for testing that outputs to the test log.
func OperationsWithDefaults ¶
func RandomOperation ¶
func WithDeadlineFromTest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.