mirror of
https://github.com/restic/restic.git
synced 2026-10-19 07:58:11 +00:00
repository: make repo.Options configurable for test repos
This commit is contained in:
1 parent
29e1caf825
commit
0ea62b5ac6
5 files changed
+9
-9
No files matched your search
@@ -1879,7 +1879,7 @@ func TestArchiverContextCanceled(t *testing.T) {
|
||||
})
|
||||
|
||||
// Ensure that the archiver itself reports the canceled context and not just the backend
|
||||
repo := repository.TestRepositoryWithBackend(t, &noCancelBackend{mem.New()}, 0)
|
||||
repo := repository.TestRepositoryWithBackend(t, &noCancelBackend{mem.New()}, 0, repository.Options{})
|
||||
|
||||
back := restictest.Chdir(t, tempdir)
|
||||
defer back()
|
||||
|
||||
Reference in new issue
Block a user