mirror of
https://github.com/restic/restic.git
synced 2025-08-24 22:17:30 +00:00
replace ad-hoc context.TODO() with gopts.ctx, so that cancellation
can properly trickle down from cmd_*. gh-1434
This commit is contained in:
@@ -248,7 +248,7 @@ func testParallelSaveWithDuplication(t *testing.T, seed int) {
|
||||
rtest.OK(t, <-errChan)
|
||||
}
|
||||
|
||||
rtest.OK(t, repo.Flush())
|
||||
rtest.OK(t, repo.Flush(context.Background()))
|
||||
rtest.OK(t, repo.SaveIndex(context.TODO()))
|
||||
|
||||
chkr := createAndInitChecker(t, repo)
|
||||
|
Reference in New Issue
Block a user