repository: make repo.Options configurable for test repos

This commit is contained in:
Michael Eischer committed 2024-02-03 18:22:47 +01:00
1 parent bb92b487f7
commit 16e3f79e8b
5 files changed
+9 -9

No files matched your search

+1 -2
View File
@@ -4,7 +4,6 @@ import (
"context"
"testing"
"github.com/restic/restic/internal/backend/mem"
"github.com/restic/restic/internal/restic"
"golang.org/x/sync/errgroup"
)
@@ -19,7 +18,7 @@ func FuzzSaveLoadBlob(f *testing.F) {
}
id := restic.Hash(blob)
repo := TestRepositoryWithBackend(t, mem.New(), 2)
repo := TestRepositoryWithVersion(t, 2)
var wg errgroup.Group
repo.StartPackUploader(context.TODO(), &wg)