[freenet-cvs] r17555 - trunk/freenet/src/freenet/node/simulator

toad at freenetproject.org toad at freenetproject.org
Tue Feb 5 21:54:47 UTC 2008


Author: toad
Date: 2008-02-05 21:54:47 +0000 (Tue, 05 Feb 2008)
New Revision: 17555

Modified:
   trunk/freenet/src/freenet/node/simulator/RealNodeULPRTest.java
Log:
Show nodes that don't have the data

Modified: trunk/freenet/src/freenet/node/simulator/RealNodeULPRTest.java
===================================================================
--- trunk/freenet/src/freenet/node/simulator/RealNodeULPRTest.java	2008-02-05 21:52:27 UTC (rev 17554)
+++ trunk/freenet/src/freenet/node/simulator/RealNodeULPRTest.java	2008-02-05 21:54:47 UTC (rev 17555)
@@ -186,6 +186,13 @@
 				System.err.println();
 				break;
 			}
+			if(x % nodes.length == 0) {
+				System.err.print("Nodes that don't have the data: ");
+				for(int i=0;i<nodes.length;i++)
+					if(nodes[i].fetch(fetchKey, true) != null) {
+						System.err.print(i+" ");
+					}
+			}
 		}
 		
         }




More information about the cvs mailing list