コード例 #1
0
ファイル: tee_topo_test.go プロジェクト: erzel/vitess
func TestTeeTopo(t *testing.T) {
	zktopo.WatchSleepDuration = 2 * time.Millisecond
	test.TopoServerTestSuite(t, func() topo.Impl {
		return newFakeTeeServer(t)
	})
}
コード例 #2
0
ファイル: zktopo_test.go プロジェクト: erzel/vitess
func TestZkTopo(t *testing.T) {
	zktopo.WatchSleepDuration = 2 * time.Millisecond
	test.TopoServerTestSuite(t, func() topo.Impl {
		return newTestServer(t, []string{"test"})
	})
}
コード例 #3
0
ファイル: server_test.go プロジェクト: jmptrader/vitess
func TestEtcdTopo(t *testing.T) {
	test.TopoServerTestSuite(t, func() topo.Impl {
		return newTestServer(t, []string{"test"})
	})
}