Documentation
¶
Overview ¶
Package timeouts contains the timeouts for the E2E test suite
Index ¶
Constants ¶
View Source
const TestTimeoutsEnvVar = "TEST_TIMEOUTS"
TestTimeoutsEnvVar is the environment variable where specific timeouts can be set for the E2E test suite
Variables ¶
View Source
var DefaultTestTimeouts = map[Timeout]int{ Failover: 240, NamespaceCreation: 30, ClusterIsReady: 600, ClusterIsReadyQuick: 300, ClusterIsReadySlow: 800, NewPrimaryAfterSwitchover: 45, NewPrimaryAfterFailover: 30, NewTargetOnFailover: 120, PodRollout: 180, OperatorIsReady: 120, LargeObject: 300, WalsInMinio: 60, MinioInstallation: 300, BackupIsReady: 180, DrainNode: 900, VolumeSnapshotIsReady: 300, Short: 5, ManagedServices: 30, }
DefaultTestTimeouts contains the default timeout in seconds for various events
Functions ¶
Types ¶
type Timeout ¶
type Timeout string
Timeout represents an event whose time we want to limit in the test suite
const ( Failover Timeout = "failover" NamespaceCreation Timeout = "namespaceCreation" ClusterIsReady Timeout = "clusterIsReady" ClusterIsReadyQuick Timeout = "clusterIsReadyQuick" ClusterIsReadySlow Timeout = "clusterIsReadySlow" NewPrimaryAfterSwitchover Timeout = "newPrimaryAfterSwitchover" NewPrimaryAfterFailover Timeout = "newPrimaryAfterFailover" NewTargetOnFailover Timeout = "newTargetOnFailover" PodRollout Timeout = "podRollout" OperatorIsReady Timeout = "operatorIsReady" LargeObject Timeout = "largeObject" WalsInMinio Timeout = "walsInMinio" MinioInstallation Timeout = "minioInstallation" BackupIsReady Timeout = "backupIsReady" DrainNode Timeout = "drainNode" VolumeSnapshotIsReady Timeout = "volumeSnapshotIsReady" Short Timeout = "short" ManagedServices Timeout = "managedServices" )
the events we're setting timeouts for NOTE: the text representation will be used as the fields in the JSON representation of the timeout object passed to the ginkgo command as an environment variable
Click to show internal directories.
Click to hide internal directories.