mtest

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: MIT Imports: 23 Imported by: 0

README

How to manually run coil using placemat

  1. Run make setup

  2. Run make placemat

  3. Login to host1 by:

    $ chmod 600 mtest_key
    $ ssh -i mtest_key cybozu@10.0.0.11
    
  4. Run /data/setup-cke.sh on host1.

  5. To stop placemat, run make stop.

Documentation

Index

Constants

View Source
const (

	// DefaultRunTimeout is the timeout value for Agent.Run().
	DefaultRunTimeout = 10 * time.Minute
)

Variables

View Source
var FailuresSuite = func() {
	Context("pod startup", TestPodStartup)
}

FailuresSuite is a test suite that runs test cases with failure injection

View Source
var FunctionsSuite = func() {
	Context("coil-controller", TestCoilController)
	Context("coil-installer", TestCoilInstaller)
	Context("pod", TestPod)
	Context("pool", TestPool)
}

FunctionsSuite is a test suite that tests small test cases

Functions

func RunBeforeSuite

func RunBeforeSuite()

RunBeforeSuite is for Ginkgo BeforeSuite

func TestCoilController

func TestCoilController()

TestCoilController tests coil-controller

func TestCoilInstaller

func TestCoilInstaller()

TestCoilInstaller tests coil-installer

func TestPod

func TestPod()

TestPod tests pod networking

func TestPodStartup added in v1.1.6

func TestPodStartup()

TestPodStartup tests pod startup, especially under failure injection.

func TestPool

func TestPool()

TestPool tests address pool management

Types

This section is empty.

Jump to

Keyboard shortcuts

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