agentrpctest

package
v0.0.0-...-d271c08 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2014 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentRpcTestSuite

func AgentRpcTestSuite(t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo)

AgentRpcTestSuite will run the test suite using the provided client and the provided tablet. Tablet's vt address needs to be configured so the client will connect to a server backed by our RpcAgent (returned by NewFakeRpcAgent)

func NewFakeRpcAgent

func NewFakeRpcAgent(t *testing.T) tabletmanager.RpcAgent

NewFakeRpcAgent returns a fake tabletmanager.RpcAgent that's just a mirror.

Types

This section is empty.

Jump to

Keyboard shortcuts

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