longevity

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 12 Imported by: 3

README

Longevity tests

The goal of longevity test how Virtlet behaves after running for a long time.

To start tests locally run:

_output/virtlet-longevity-tests -stress -alsologtostderr

Tests will run until error occurs or CTRL-C is received

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(controller *framework.Controller, instances []*VMInstance) error

Types

type VMInstance

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

func GetBaseTests

func GetBaseTests(controller *framework.Controller) []*VMInstance

func GetStressTests

func GetStressTests(controller *framework.Controller) []*VMInstance

func (*VMInstance) Create

func (i *VMInstance) Create() error

func (*VMInstance) Delete

func (i *VMInstance) Delete() error

func (*VMInstance) ReCreate

func (i *VMInstance) ReCreate() error

func (*VMInstance) Stop

func (i *VMInstance) Stop()

func (*VMInstance) Test

func (i *VMInstance) Test(ctx context.Context, instance *VMInstance, testFunc func(*VMInstance) error, errCh chan error)

Jump to

Keyboard shortcuts

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