diff --git a/internal/restic/restorer_test.go b/internal/restic/restorer_test.go index 43dc4d742..9e3c5528a 100644 --- a/internal/restic/restorer_test.go +++ b/internal/restic/restorer_test.go @@ -90,7 +90,7 @@ func saveSnapshot(t testing.TB, repo restic.Repository, snapshot Snapshot) (rest treeID := saveDir(t, repo, snapshot.Nodes) - err := repo.Flush() + err := repo.Flush(ctx) if err != nil { t.Fatal(err) }