Skip to content

Commit

Permalink
dagmodifier test: Add TODO note about how bad luck can cause test fai…
Browse files Browse the repository at this point in the history
…lure
  • Loading branch information
tv42 authored and whyrusleeping committed Jul 1, 2015
1 parent e72dbf3 commit 617714a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unixfs/mod/dagmodifier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ func TestCorrectPinning(t *testing.T) {

indirpins := pins.IndirectKeys()
children := enumerateChildren(t, nd, dserv)
// TODO this is not true if the contents happen to be identical
if len(indirpins) != len(children) {
t.Log(len(indirpins), len(children))
t.Fatal("Incorrect number of indirectly pinned blocks")
Expand Down

0 comments on commit 617714a

Please sign in to comment.