e2e

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpJobsLogsOnError added in v0.0.5

func DumpJobsLogsOnError(t *testing.T, f *framework.Framework, namespace string)

DumpJobsLogsOnError checks if t is marked as failed, and if yes, dumps the logs of all pods in the specified namespace.

func GetPod

func GetPod(namespace, namePrefix, containsImage string, kubeclient kubernetes.Interface) (*v1.Pod, error)

GetPod retrieves a given pod based on namespace, the pod name prefix, and the image used Original Source https://github.com/jaegertracing/jaeger-operator/blob/master/test/e2e/utils.go

func WaitForPod

func WaitForPod(t *testing.T, f *framework.Framework, namespace, name string, retryInterval, timeout time.Duration) error

WaitForPod retrieves a specific pod with a known name and namespace and waits for it to be running and available

func WaitForPodAbsence added in v0.0.5

func WaitForPodAbsence(t *testing.T, f *framework.Framework, namespace, name, image string, retryInterval, timeout time.Duration) error

WaitForPodAbsence waits until a pod with specified name (including namespace) and image is not found, or is Terminated.

func WaitForPodWithImage

func WaitForPodWithImage(t *testing.T, f *framework.Framework, namespace, name, image string, retryInterval, timeout time.Duration) error

WaitForPodWithImage retrieves a pod using GetPod and waits for it to be running and available

Types

This section is empty.

Jump to

Keyboard shortcuts

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