Documentation ¶
Overview ¶
Package test contains utilities to test topo.Impl implementations. If you are testing your implementation, you will want to call all the check methods in your test methods. For an example, look at the tests in github.com/youtube/vitess/go/vt/zktopo.
Package test contains utilities to test topo.Impl 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.Impl 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.Impl 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.Impl 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.Impl 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.Impl 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(ctx context.Context, t *testing.T, ts topo.Impl)
- func CheckKeyspaceLock(ctx context.Context, t *testing.T, ts topo.Impl)
- func CheckServingGraph(ctx context.Context, t *testing.T, ts topo.Impl)
- func CheckShard(ctx context.Context, t *testing.T, ts topo.Impl)
- func CheckShardLock(ctx context.Context, t *testing.T, ts topo.Impl)
- func CheckShardReplication(ctx context.Context, t *testing.T, ts topo.Impl)
- func CheckSrvShardLock(ctx context.Context, t *testing.T, ts topo.Impl)
- func CheckTablet(ctx context.Context, t *testing.T, ts topo.Impl)
- func CheckVSchema(ctx context.Context, t *testing.T, ts topo.Impl)
- func CheckWatchSrvKeyspace(ctx context.Context, t *testing.T, ts topo.Impl)
- func CheckWatchVSchema(ctx context.Context, t *testing.T, ts topo.Impl)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckKeyspace ¶
CheckKeyspace tests the keyspace part of the API
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
func CheckTablet ¶
CheckTablet verifies the topo server API is correct for managing tablets.
func CheckVSchema ¶
CheckVSchema runs the tests on the VSchema part of the API
func CheckWatchSrvKeyspace ¶
CheckWatchSrvKeyspace makes sure WatchSrvKeyspace works as expected
Types ¶
This section is empty.