v1alpha1

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultTimeOut is the default time in seconds
	// for Eventually block
	DefaultTimeOut int = 600
	// DefaultPollingInterval is the default polling
	// time in seconds for the Eventually block
	DefaultPollingInterval int = 10
	// NodeCountOne is the 1 node
	// needed to run this test
	NodeCountOne int = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Framework

type Framework struct {
	BaseName string
	// configuration for framework's options
	Options FrameworkOptions
}

Framework supports common operations used by tests

func NewFramework

func NewFramework(baseName string, options FrameworkOptions) *Framework

NewFramework creates a test framework.

func NewFrameworkDefault

func NewFrameworkDefault(baseName string, options ...FrameworkOptions) *Framework

NewFrameworkDefault makes a framework using default values and sets up a BeforeEach/AfterEach

func (*Framework) AfterSuite

func (f *Framework) AfterSuite()

AfterSuite clean up openebs control plane components created by BeforeSuite

func (*Framework) BeforeSuite

func (f *Framework) BeforeSuite()

BeforeSuite installs openebs control plane components

type FrameworkOptions

type FrameworkOptions struct {
	MinNodeCount int
	Artifacts    artifacts.ArtifactSource
}

FrameworkOptions provide different options specfic to tests

Jump to

Keyboard shortcuts

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