示例#1
0
func TestShard(t *testing.T) {
	ts := NewTestServer(t, []string{"test"})
	defer ts.Close()
	test.CheckShard(t, ts)
}
示例#2
0
func TestShard(t *testing.T) {
	ts := newFakeTeeServer(t)
	test.CheckShard(t, ts)
}
示例#3
0
func TestShard(t *testing.T) {
	ctx := context.Background()
	ts := NewTestServer(t, []string{"test"})
	defer ts.Close()
	test.CheckShard(ctx, t, ts)
}
示例#4
0
func TestShard(t *testing.T) {
	ctx := context.Background()
	ts := newFakeTeeServer(t)
	test.CheckShard(ctx, t, ts)
}