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 ¶
- func CheckKeyspace(t *testing.T, ts topo.Server)
- func CheckKeyspaceLock(t *testing.T, ts topo.Server)
- func CheckServingGraph(ctx context.Context, t *testing.T, ts topo.Server)
- func CheckShard(ctx context.Context, t *testing.T, ts topo.Server)
- func CheckShardLock(t *testing.T, ts topo.Server)
- func CheckShardReplication(t *testing.T, ts topo.Server)
- func CheckSrvShardLock(t *testing.T, ts topo.Server)
- func CheckTablet(ctx context.Context, t *testing.T, ts topo.Server)
- func CheckVSchema(t *testing.T, ts topo.Server)
- func CheckWatchEndPoints(ctx context.Context, t *testing.T, ts topo.Server)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckKeyspaceLock ¶
CheckKeyspaceLock checks we can take a keyspace lock as expected.
func CheckServingGraph ¶
CheckServingGraph makes sure the serving graph functions work properly.
func CheckShard ¶
CheckShard verifies the Shard operations work correctly
func CheckShardLock ¶
CheckShardLock checks we can take a shard lock
func CheckShardReplication ¶
CheckShardReplication tests ShardReplication objects
func CheckSrvShardLock ¶
CheckSrvShardLock tests we can take a SrvShard lock
Types ¶
This section is empty.