Exemple #1
0
func agentRpcTestReserveForRestore(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) {
	err := client.ReserveForRestore(ctx, ti, testReserveForRestoreArgs)
	compareError(t, "ReserveForRestore", err, true, testReserveForRestoreCalled)
}