mirror of
https://github.com/restic/restic.git
synced 2025-08-21 09:17:37 +00:00
Add progress report for loading blobs
This commit is contained in:
@@ -146,7 +146,7 @@ func BenchmarkArchiveDirectory(b *testing.B) {
|
||||
func snapshot(t testing.TB, server restic.Server, path string) *restic.Snapshot {
|
||||
arch, err := restic.NewArchiver(server)
|
||||
ok(t, err)
|
||||
ok(t, arch.Preload())
|
||||
ok(t, arch.Preload(nil))
|
||||
sn, _, err := arch.Snapshot(nil, path, nil)
|
||||
ok(t, err)
|
||||
return sn
|
||||
@@ -230,6 +230,6 @@ func BenchmarkPreload(t *testing.B) {
|
||||
// create new archiver and preload
|
||||
arch2, err := restic.NewArchiver(server)
|
||||
ok(t, err)
|
||||
ok(t, arch2.Preload())
|
||||
ok(t, arch2.Preload(nil))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user