fix: add API test coverage and fix minor bugs

This commit is contained in:
garethgeorge
2024-02-03 18:08:42 -08:00
parent 4a565f2cdc
commit f5bb74bf24
5 changed files with 302 additions and 7 deletions

View File

@@ -165,7 +165,6 @@ func backupHelper(ctx context.Context, t Task, orchestrator *Orchestrator, plan
if plan.Retention != nil {
orchestrator.ScheduleTask(NewOneoffForgetTask(orchestrator, plan, op.SnapshotId, at), TaskPriorityForget)
}
orchestrator.ScheduleTask(NewOneoffIndexSnapshotsTask(orchestrator, plan.Repo, at), TaskPriorityIndexSnapshots)
orchestrator.ScheduleTask(NewOneoffStatsTask(orchestrator, plan, op.SnapshotId, at), TaskPriorityStats)