Пример #1
0
func agentRpcTestRestartSlave(t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) {
	err := client.RestartSlave(ti, testRestartSlaveData, time.Minute)
	compareError(t, "RestartSlave", err, true, testRestartSlaveCalled)
}