agentrpctest

package
v2.1.0-alpha.2+incompa... Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2017 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeRPCAgent

func NewFakeRPCAgent(t *testing.T) tabletmanager.RPCAgent

NewFakeRPCAgent returns a fake tabletmanager.RPCAgent that's just a mirror.

func Run

func Run(t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet, fakeAgent tabletmanager.RPCAgent)

Run 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)

Types

This section is empty.

Jump to

Keyboard shortcuts

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