test

package
v0.0.0-...-444a4ab Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2015 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

TODO(sougou): The comments below look obsolete. Need to verify. Package test contains utilities to test topo.Server implementations. If you are testing your implementation, you will want to call CheckAll in your test method. For an example, look at the tests in github.com/youtube/vitess/go/vt/zktopo.

Package test contains utilities to test topo.Server implementations. If you are testing your implementation, you will want to call CheckAll in your test method. For an example, look at the tests in github.com/youtube/vitess/go/vt/zktopo.

Package test contains utilities to test topo.Server implementations. If you are testing your implementation, you will want to call CheckAll in your test method. For an example, look at the tests in github.com/youtube/vitess/go/vt/zktopo.

Package test contains utilities to test topo.Server implementations. If you are testing your implementation, you will want to call CheckAll in your test method. For an example, look at the tests in github.com/youtube/vitess/go/vt/zktopo.

Package test contains utilities to test topo.Server implementations. If you are testing your implementation, you will want to call CheckAll in your test method. For an example, look at the tests in github.com/youtube/vitess/go/vt/zktopo.

Package test contains utilities to test topo.Server implementations. If you are testing your implementation, you will want to call CheckAll in your test method. For an example, look at the tests in github.com/youtube/vitess/go/vt/zktopo.

Package test contains utilities to test topo.Server implementations. If you are testing your implementation, you will want to call CheckAll in your test method. For an example, look at the tests in github.com/youtube/vitess/go/vt/zktopo.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckKeyspace

func CheckKeyspace(t *testing.T, ts topo.Server)

func CheckKeyspaceLock

func CheckKeyspaceLock(t *testing.T, ts topo.Server)

CheckKeyspaceLock checks we can take a keyspace lock as expected.

func CheckServingGraph

func CheckServingGraph(ctx context.Context, t *testing.T, ts topo.Server)

CheckServingGraph makes sure the serving graph functions work properly.

func CheckShard

func CheckShard(ctx context.Context, t *testing.T, ts topo.Server)

CheckShard verifies the Shard operations work correctly

func CheckShardLock

func CheckShardLock(t *testing.T, ts topo.Server)

CheckShardLock checks we can take a shard lock

func CheckShardReplication

func CheckShardReplication(t *testing.T, ts topo.Server)

CheckShardReplication tests ShardReplication objects

func CheckSrvShardLock

func CheckSrvShardLock(t *testing.T, ts topo.Server)

CheckSrvShardLock tests we can take a SrvShard lock

func CheckTablet

func CheckTablet(ctx context.Context, t *testing.T, ts topo.Server)

func CheckVSchema

func CheckVSchema(t *testing.T, ts topo.Server)

func CheckWatchEndPoints

func CheckWatchEndPoints(ctx context.Context, t *testing.T, ts topo.Server)

CheckWatchEndPoints makes sure WatchEndPoints works as expected

Types

This section is empty.

Directories

Path Synopsis
Package faketopo contains utitlities for tests that have to interact with a Vitess topology.
Package faketopo contains utitlities for tests that have to interact with a Vitess topology.

Jump to

Keyboard shortcuts

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