コード例 #1
0
ファイル: test_agent_rpc.go プロジェクト: nangong92t/go_src
func agentRpcTestRestartSlave(t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) {
	err := client.RestartSlave(ti, testRestartSlaveData, time.Minute)
	compareError(t, "RestartSlave", err, true, testRestartSlaveCalled)
}