@cryptotaxi247 / kubo / commits / aafebc58a

dagmodifier test: Add TODO note about how bad luck can cause test failure

License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>

Tommi Virtanen committed Jun 8, 2015 at 21:43 UTC aafebc58af6b1643d8262c2bdc52159a94861d3d
1 file changed +1
unixfs/mod/dagmodifier_test.go
+1
@@ -568,6 +568,7 @@ func TestCorrectPinning(t *testing.T) {
568
569 indirpins := pins.IndirectKeys()
570 children := enumerateChildren(t, nd, dserv)
571 + // TODO this is not true if the contents happen to be identical
572 if len(indirpins) != len(children) {
573 t.Log(len(indirpins), len(children))
574 t.Fatal("Incorrect number of indirectly pinned blocks")