func TestWatchSrvKeyspace(t *testing.T) { ctx := context.Background() ts := newTestServer(t, []string{"test"}) defer ts.Close() test.CheckWatchSrvKeyspace(ctx, t, ts) }
func TestWatchSrvKeyspace(t *testing.T) { WatchSleepDuration = 2 * time.Millisecond ts := newTestServer(t, []string{"test"}) defer ts.Close() test.CheckWatchSrvKeyspace(context.Background(), t, ts) }
func TestWatchSrvKeyspace(t *testing.T) { zktopo.WatchSleepDuration = 2 * time.Millisecond ts := newFakeTeeServer(t) test.CheckWatchSrvKeyspace(context.Background(), t, ts) }