Example #1
0
func agentRpcTestRestartSlave(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) {
	err := client.RestartSlave(ctx, ti, testRestartSlaveData)
	compareError(t, "RestartSlave", err, true, testRestartSlaveCalled)
}