destructive

package
v0.0.0-...-084c4e9 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2018 License: MPL-2.0 Imports: 1 Imported by: 0

README

Destructive tests

The goal is to test behaviour of status-go and underlying protocols under erroneous conditions, such as losing network connection.

Test could cause unpredictable side effects, such as change of network configuration. I don't advice to run them locally on your machine, just use docker container. Also note that tests are relying on real data, such as number of peers.

make docker-test ARGS="./t/destructive/ -v -network=3"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkConnectionController

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

NetworkConnectionController removes and restores network connection.

func (*NetworkConnectionController) Disable

func (t *NetworkConnectionController) Disable() error

Disable removes default route.

func (*NetworkConnectionController) Enable

func (t *NetworkConnectionController) Enable() error

Enable removes default route.

Jump to

Keyboard shortcuts

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