e2e

package
v0.6.38 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunE2ETests

func RunE2ETests(t *testing.T)

RunE2ETests checks configuration parameters (specified through flags) and then runs E2E tests using the Ginkgo runner. This function is called on each Ginkgo node in parallel mode.

func WaitForPMEMDriver added in v0.5.0

func WaitForPMEMDriver(c clientset.Interface)

WaitForPMEMDriver ensures that the PMEM-CSI driver is ready for use.

A relatively simple check is to check the nodes: if all nodes with "storage: pmem" also have a PMEM-CSI entry in the "csi.volume.kubernetes.io/nodeid" annotation, then kubelet has found the driver, which in turn implies that the node has been registered with the PMEM-CSI controller, because the node driver only makes its csi.sock available after that.

There's just one loophole: the annotation might be from a previous successful registration of the driver. For a fresh cluster as in the CI the check should be good enough.

Types

This section is empty.

Directories

Path Synopsis
dax

Jump to

Keyboard shortcuts

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