コード例 #1
0
ファイル: zktopo_test.go プロジェクト: pranjal5215/vitess
func TestWatchEndPoints(t *testing.T) {
	WatchSleepDuration = 2 * time.Millisecond
	ts := NewTestServer(t, []string{"test"})
	defer ts.Close()
	test.CheckWatchEndPoints(context.Background(), t, ts)
}
コード例 #2
0
ファイル: server_test.go プロジェクト: pranjal5215/vitess
func TestWatchEndPoints(t *testing.T) {
	ctx := context.Background()
	ts := newTestServer(t, []string{"test"})
	defer ts.Close()
	test.CheckWatchEndPoints(ctx, t, ts)
}