timeouts

package
v1.28.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

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

DefaultTestTimeouts contains the default timeout in seconds for various events

Functions

func Timeouts

func Timeouts() (map[Timeout]int, error)

Timeouts returns the map of timeouts, where each event gets the timeout specified in the `TEST_TIMEOUTS` environment variable, or if not specified, takes the default value

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL