@@ -240,11 +240,9 @@ public void pinTest() throws IOException {
240
240
public void pinUpdate () throws IOException {
241
241
MerkleNode child1 = ipfs .add (new NamedStreamable .ByteArrayWrapper ("some data" .getBytes ())).get (0 );
242
242
Multihash hashChild1 = child1 .hash ;
243
- System .out .println ("child1: " + hashChild1 );
244
243
245
244
CborObject .CborMerkleLink root1 = new CborObject .CborMerkleLink (hashChild1 );
246
245
MerkleNode root1Res = ipfs .block .put (Collections .singletonList (root1 .toByteArray ()), Optional .of ("cbor" )).get (0 );
247
- System .out .println ("root1: " + root1Res .hash );
248
246
ipfs .pin .add (root1Res .hash );
249
247
250
248
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 {
267
265
public void rawLeafNodePinUpdate () throws IOException {
268
266
MerkleNode child1 = ipfs .block .put ("some data" .getBytes (), Optional .of ("raw" ));
269
267
Multihash hashChild1 = child1 .hash ;
270
- System .out .println ("child1: " + hashChild1 );
271
268
272
269
CborObject .CborMerkleLink root1 = new CborObject .CborMerkleLink (hashChild1 );
273
270
MerkleNode root1Res = ipfs .block .put (Collections .singletonList (root1 .toByteArray ()), Optional .of ("cbor" )).get (0 );
274
- System .out .println ("root1: " + root1Res .hash );
275
271
ipfs .pin .add (root1Res .hash );
276
272
277
273
MerkleNode child2 = ipfs .block .put ("G'day new tree" .getBytes (), Optional .of ("raw" ));
@@ -606,7 +602,7 @@ public void fileContentsTest() throws IOException {
606
602
}
607
603
608
604
@ Test
609
- // @Ignore("name test may hang forever")
605
+ @ Ignore ("name test may hang forever" )
610
606
public void nameTest () throws IOException {
611
607
MerkleNode pointer = new MerkleNode ("QmPZ9gcCEpqKTo6aq61g2nXGUhM4iCL3ewB6LDXZCtioEB" );
612
608
Map pub = ipfs .name .publish (pointer .hash );
@@ -685,7 +681,6 @@ public void swarmTest() throws IOException {
685
681
throw new IllegalStateException ("Couldn't contact any node!" );
686
682
}
687
683
List <Peer > peers = ipfs .swarm .peers ();
688
- System .out .println (peers );
689
684
}
690
685
691
686
@ Test
0 commit comments