Exemplo n.º 1
0
func TestWatchSrvKeyspace(t *testing.T) {
	ctx := context.Background()
	ts := newTestServer(t, []string{"test"})
	defer ts.Close()
	test.CheckWatchSrvKeyspace(ctx, t, ts)
}
Exemplo n.º 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)
}
Exemplo n.º 3
0
func TestWatchSrvKeyspace(t *testing.T) {
	zktopo.WatchSleepDuration = 2 * time.Millisecond
	ts := newFakeTeeServer(t)
	test.CheckWatchSrvKeyspace(context.Background(), t, ts)
}