forked from TrueCloudLab/restic
repository: Fix benchmarkSaveAndEncrypt
This commit is contained in:
parent
f8910bc4ff
commit
137f0bc944
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue