Пример #1
0
func TestWatchSrvKeyspace(t *testing.T) {
	ctx := context.Background()
	ts := newTestServer(t, []string{"test"})
	defer ts.Close()
	test.CheckWatchSrvKeyspace(ctx, t, ts)
}
Пример #2
0
func TestWatchSrvKeyspace(t *testing.T) {
	WatchSleepDuration = 2 * time.Millisecond
	ts := newTestServer(t, []string{"test"})
	defer ts.Close()
	test.CheckWatchSrvKeyspace(context.Background(), t, ts)
}
Пример #3
0
func TestWatchSrvKeyspace(t *testing.T) {
	zktopo.WatchSleepDuration = 2 * time.Millisecond
	ts := newFakeTeeServer(t)
	test.CheckWatchSrvKeyspace(context.Background(), t, ts)
}