Пример #1
0
func TestTeeTopo(t *testing.T) {
	zktopo.WatchSleepDuration = 2 * time.Millisecond
	test.TopoServerTestSuite(t, func() topo.Impl {
		return newFakeTeeServer(t)
	})
}
Пример #2
0
func TestZkTopo(t *testing.T) {
	zktopo.WatchSleepDuration = 2 * time.Millisecond
	test.TopoServerTestSuite(t, func() topo.Impl {
		return newTestServer(t, []string{"test"})
	})
}
Пример #3
0
func TestEtcdTopo(t *testing.T) {
	test.TopoServerTestSuite(t, func() topo.Impl {
		return newTestServer(t, []string{"test"})
	})
}