Help us shape the future of Go! Take the 2026 Go Developer Survey

e2e

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// QuickTimeout - for operations that should complete in seconds (resource existence checks)
	QuickTimeout = 30 * time.Second
	// StandardTimeout - for basic CRUD operations on Kubernetes resources
	StandardTimeout = 1 * time.Minute
	// MediumTimeout - for operations involving API calls with retries or resource deletion
	MediumTimeout = 2 * time.Minute
	// ContainerTimeout - for container startup and initialization
	ContainerTimeout = 3 * time.Minute

	// Polling intervals for Eventually/Consistently checks
	QuickPoll    = 2 * time.Second  // For fast-changing resources
	StandardPoll = 5 * time.Second  // For typical resource state changes
	MediumPoll   = 10 * time.Second // For slower cloud operations
	LongPoll     = 15 * time.Second // For very slow operations
	HelmPoll     = 20 * time.Second // For Helm chart operations
)

Timeout constants used across E2E tests

Variables

This section is empty.

Functions

This section is empty.

Types

type TestResource

type TestResource struct {
	Type      string
	Name      string
	Namespace string
}

TestResource represents a Kubernetes resource created during tests

Jump to

Keyboard shortcuts

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