testrpc

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2018 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)

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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