e2e

package
v0.0.0-...-17268cf Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Overview

Package e2e launches an OSD cluster, performs tests on it, and destroys it.

Index

Constants

View Source
const (
	Success = 0
	Failure = 1
	Aborted = 130
)
View Source
const ManyGroupedFailureName = "A lot of tests failed together"

ManyGroupedFailureName is the incident title assigned to incidents reperesenting a large cluster of test failures.

Variables

This section is empty.

Functions

func RunTests

func RunTests() int

RunTests initializes Ginkgo and runs the osde2e test suite.

Types

type Metrics

type Metrics struct {
	// contains filtered or unexported fields
}

Metrics is the metrics object which can parse jUnit and JSON metadata and produce Prometheus metrics.

func NewMetrics

func NewMetrics() *Metrics

NewMetrics creates a new metrics object using the given config object.

func (*Metrics) WritePrometheusFile

func (m *Metrics) WritePrometheusFile(reportDir string) (string, error)

WritePrometheusFile collects data and writes it out in the prometheus export file format (https://github.com/prometheus/docs/blob/master/content/docs/instrumenting/exposition_formats.md) Returns the prometheus file name.

Directories

Path Synopsis
Package openshift runs the OpenShift extended test suite.
Package openshift runs the OpenShift extended test suite.
hypershift
Package hypershift runs test units for hypershift clusters
Package hypershift runs test units for hypershift clusters

Jump to

Keyboard shortcuts

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