diff --git a/internal/repository/repository_test.go b/internal/repository/repository_test.go index 7b5789605..f4be16cbc 100644 --- a/internal/repository/repository_test.go +++ b/internal/repository/repository_test.go @@ -127,6 +127,8 @@ func benchmarkSaveAndEncrypt(t *testing.B, version uint) { rtest.OK(t, err) id := restic.ID(sha256.Sum256(data)) + var wg errgroup.Group + repo.StartPackUploader(context.Background(), &wg) t.ReportAllocs() t.ResetTimer()