repository: make repo.Options configurable for test repos

This commit is contained in:
Michael Eischer committed 2024-02-04 19:07:46 +01:00
1 parent 29e1caf825
commit 0ea62b5ac6
5 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -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()