mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 06:46:34 +00:00
repository: Fix benchmarkSaveAndEncrypt
This commit is contained in:
parent
f8910bc4ff
commit
137f0bc944
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user