repository: make repo.Options configurable for test repos
This commit is contained in:
parent
bb92b487f7
commit
16e3f79e8b
5 changed files with 9 additions and 9 deletions
|
@ -1880,7 +1880,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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue