mirror of
https://github.com/restic/restic.git
synced 2025-12-03 23:11:47 +00:00
repository: run blackbox tests using old and new repo version
This commit is contained in:
@@ -1894,7 +1894,7 @@ func TestArchiverContextCanceled(t *testing.T) {
|
||||
defer removeTempdir()
|
||||
|
||||
// Ensure that the archiver itself reports the canceled context and not just the backend
|
||||
repo, _ := repository.TestRepositoryWithBackend(t, &noCancelBackend{mem.New()})
|
||||
repo, _ := repository.TestRepositoryWithBackend(t, &noCancelBackend{mem.New()}, 0)
|
||||
|
||||
back := restictest.Chdir(t, tempdir)
|
||||
defer back()
|
||||
|
||||
Reference in New Issue
Block a user