Documentation ¶
Overview ¶
Package autoupdatelib provides common utils for making autoupdate tests.
Index ¶
Constants ¶
View Source
const ( // TotalTestTime is the maximum time the test expected to take. TotalTestTime = cleanupTimeoutN2M + initTimeoutN2M + preUpdateTimeoutN2M + postUpdateTimeoutN2M + updateutil.UpdateTimeout )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Operations ¶
type Operations struct { PreUpdate func(ctx context.Context, s *testing.State) PostUpdate func(ctx context.Context, s *testing.State) PostRollback func(ctx context.Context, s *testing.State) CleanUp func(ctx context.Context, s *testing.State) }
Operations contains operations performed at various points of update sequence. Each operation has timeout 3 minutes, except cleanup, which is 30 seconds.
Click to show internal directories.
Click to hide internal directories.