node

package
v1.18.20-rc.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Apache-2.0 Imports: 53 Imported by: 17

README

WARNING: Do not add tests in this directory

There are two types of end-to-end tests in Kubernetes:

Tests located in ${KUBE_ROOT}/test/e2e/common are shared by both Cluster and Node E2E test jobs. Tests in ${KUBE_ROOT}/test/e2e_node are exclusively owned by Node E2E. If you want to add a test, most likely than not, you want to add the test to one of the two directories mentioned above. If you are unsure, please check with the OWNER of the directory. This directory currently contains misplaced and legacy tests; they will be cleaned up in the future.

Documentation

Index

Constants

View Source
const (

	// JobTimeout is how long to wait for a job to finish.
	JobTimeout = 15 * time.Minute
)

Variables

This section is empty.

Functions

func FinishTime added in v1.18.0

func FinishTime(finishedJob *batchv1.Job) metav1.Time

FinishTime returns finish time of the specified job.

func SIGDescribe

func SIGDescribe(text string, body func()) bool

SIGDescribe annotates the test with the SIG label.

Types

type State added in v1.9.0

type State struct {
	Received map[string]int
}

State partially cloned from webserver.go

Jump to

Keyboard shortcuts

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