Make TestCreateSnapshot less verbose

This commit is contained in:
Alexander Neumann 2016-07-31 12:09:26 +02:00
parent b55ac2afd6
commit 6c2334f505
1 changed files with 0 additions and 3 deletions

View File

@ -52,11 +52,8 @@ const (
// saveTree saves a tree of fake files in the repo and returns the ID.
func saveTree(t testing.TB, repo *repository.Repository, seed int64, depth int) backend.ID {
t.Logf("create fake tree with seed %d, depth %d", seed, depth)
rnd := rand.NewSource(seed)
numNodes := int(rnd.Int63() % maxNodes)
t.Logf("create %v nodes", numNodes)
var tree Tree
for i := 0; i < numNodes; i++ {