testrpc

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2019 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForLeader

func WaitForLeader(t *testing.T, rpc rpcFn, dc string)

WaitForLeader ensures we have a leader and a node registration.

func WaitForTestAgent added in v1.2.3

func WaitForTestAgent(t *testing.T, rpc rpcFn, dc string, options ...waitOption)

WaitForTestAgent ensures we have a node with serfHealth check registered

func WaitUntilNoLeader added in v1.2.3

func WaitUntilNoLeader(t *testing.T, rpc rpcFn, dc string)

WaitUntilNoLeader ensures no leader is present, useful for testing lost leadership.

func WithToken added in v1.4.2

func WithToken(token string) waitOption

Types

This section is empty.

Jump to

Keyboard shortcuts

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