@@ -240,11 +240,9 @@ public void pinTest() throws IOException {
240240 public void pinUpdate () throws IOException {
241241 MerkleNode child1 = ipfs .add (new NamedStreamable .ByteArrayWrapper ("some data" .getBytes ())).get (0 );
242242 Multihash hashChild1 = child1 .hash ;
243- System .out .println ("child1: " + hashChild1 );
244243
245244 CborObject .CborMerkleLink root1 = new CborObject .CborMerkleLink (hashChild1 );
246245 MerkleNode root1Res = ipfs .block .put (Collections .singletonList (root1 .toByteArray ()), Optional .of ("cbor" )).get (0 );
247- System .out .println ("root1: " + root1Res .hash );
248246 ipfs .pin .add (root1Res .hash );
249247
250248 CborObject .CborList root2 = new CborObject .CborList (Arrays .asList (new CborObject .CborMerkleLink (hashChild1 ), new CborObject .CborLong (System .currentTimeMillis ())));
@@ -267,11 +265,9 @@ public void pinUpdate() throws IOException {
267265 public void rawLeafNodePinUpdate () throws IOException {
268266 MerkleNode child1 = ipfs .block .put ("some data" .getBytes (), Optional .of ("raw" ));
269267 Multihash hashChild1 = child1 .hash ;
270- System .out .println ("child1: " + hashChild1 );
271268
272269 CborObject .CborMerkleLink root1 = new CborObject .CborMerkleLink (hashChild1 );
273270 MerkleNode root1Res = ipfs .block .put (Collections .singletonList (root1 .toByteArray ()), Optional .of ("cbor" )).get (0 );
274- System .out .println ("root1: " + root1Res .hash );
275271 ipfs .pin .add (root1Res .hash );
276272
277273 MerkleNode child2 = ipfs .block .put ("G'day new tree" .getBytes (), Optional .of ("raw" ));
@@ -606,7 +602,7 @@ public void fileContentsTest() throws IOException {
606602 }
607603
608604 @ Test
609- // @Ignore("name test may hang forever")
605+ @ Ignore ("name test may hang forever" )
610606 public void nameTest () throws IOException {
611607 MerkleNode pointer = new MerkleNode ("QmPZ9gcCEpqKTo6aq61g2nXGUhM4iCL3ewB6LDXZCtioEB" );
612608 Map pub = ipfs .name .publish (pointer .hash );
@@ -685,7 +681,6 @@ public void swarmTest() throws IOException {
685681 throw new IllegalStateException ("Couldn't contact any node!" );
686682 }
687683 List <Peer > peers = ipfs .swarm .peers ();
688- System .out .println (peers );
689684 }
690685
691686 @ Test
0 commit comments