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