mirror of
https://github.com/restic/restic.git
synced 2026-11-23 23:12:52 +00:00
Major restructure, bundle blobs
This commit also breaks the repository format.
This commit is contained in:
1 parent
b836da1980
commit
60a0fe8349
29 files changed
+937
-1123
No files matched your search
@@ -27,6 +27,9 @@ func TestWalkTree(t *testing.T) {
|
||||
sn, _, err := arch.Snapshot(nil, dirs, nil)
|
||||
OK(t, err)
|
||||
|
||||
// flush server, write all packs
|
||||
OK(t, server.Flush())
|
||||
|
||||
// start benchmark
|
||||
// t.ResetTimer()
|
||||
|
||||
@@ -48,6 +51,9 @@ func TestWalkTree(t *testing.T) {
|
||||
fsJob, fsChOpen := <-fsJobs
|
||||
Assert(t, !fsChOpen || fsJob != nil,
|
||||
"received nil job from filesystem: %v %v", fsJob, fsChOpen)
|
||||
if fsJob != nil {
|
||||
OK(t, fsJob.Error())
|
||||
}
|
||||
|
||||
var path string
|
||||
fsEntries := 1
|
||||
@@ -63,6 +69,8 @@ func TestWalkTree(t *testing.T) {
|
||||
treeJob, treeChOpen := <-treeJobs
|
||||
treeEntries := 1
|
||||
|
||||
OK(t, treeJob.Error)
|
||||
|
||||
if treeJob.Tree != nil {
|
||||
treeEntries = len(treeJob.Tree.Nodes)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user