Versions in this module Expand all Collapse all v0 v0.2.0 Mar 13, 2019 v0.1.0 Jul 23, 2018 Changes in this version + const NumSeeds + func BenchmarkCfg() cfg.ConfigSet + func NewMultiErr(errs []error) error + func PerCPU(fn func(int), n int) + func Run(ctx context.Context, dir string, numNodes int, config cfg.ConfigSet, fn Tester) error + func RunWithConfigs(ctx context.Context, dir string, numNodes int, configs []cfg.ConfigSet, ...) error + func SystemCfg() cfg.ConfigSet + func WithServices(config cfg.ConfigSet, services ...string) cfg.ConfigSet + type MultiErr []error + func (e MultiErr) Error() string + func (e MultiErr) Format(s fmt.State, verb rune) + type TestNode struct + func NewTestNode(dir string, config cfg.ConfigSet) (*TestNode, error) + func (h *TestNode) Connect(ctx context.Context) (*grpc.ClientConn, error) + func (h *TestNode) FullAddress() string + func (h *TestNode) PeerID() peer.ID + func (h *TestNode) Up(ctx context.Context) error + func (h *TestNode) WaitForAPI(ctx context.Context) (*grpc.ClientConn, error) + type TestNodeSet []*TestNode + func NewTestNodeSet(dir string, n int, config cfg.ConfigSet) (TestNodeSet, error) + func NewTestNodeSetWithConfigs(dir string, n int, configs []cfg.ConfigSet) (TestNodeSet, error) + func (s TestNodeSet) Connect(ctx context.Context) ([]*grpc.ClientConn, error) + func (s TestNodeSet) Up(ctx context.Context) error + type Tester func(context.Context, TestNodeSet, []*grpc.ClientConn)