func agentRpcTestReserveForRestore(t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) { err := client.ReserveForRestore(ti, testReserveForRestoreArgs, time.Minute) compareError(t, "ReserveForRestore", err, true, testReserveForRestoreCalled) }