Author: toad
Date: 2008-02-07 20:23:12 +0000 (Thu, 07 Feb 2008)
New Revision: 17677

Modified:
   trunk/freenet/src/freenet/node/simulator/RealNodeULPRTest.java
Log:
100 tests, for now

Modified: trunk/freenet/src/freenet/node/simulator/RealNodeULPRTest.java
===================================================================
--- trunk/freenet/src/freenet/node/simulator/RealNodeULPRTest.java      
2008-02-07 20:20:24 UTC (rev 17676)
+++ trunk/freenet/src/freenet/node/simulator/RealNodeULPRTest.java      
2008-02-07 20:23:12 UTC (rev 17677)
@@ -56,6 +56,7 @@
     static final short MAX_HTL = 10; // for now
     //static final int NUMBER_OF_NODES = 50;
     //static final short MAX_HTL = 10;
+    static final int NUMBER_OF_TESTS = 100;

     public static void main(String[] args) throws FSParseException, 
PeerParseException, CHKEncodeException, InvalidThresholdException, 
NodeInitException, ReferenceSignatureVerificationException, 
KeyCollisionException, SSKEncodeException, IOException, InterruptedException, 
SSKVerifyException {
         System.err.println("ULPR test");
@@ -118,7 +119,7 @@

         long totalPropagationTime = 0;

-        for(int totalCount=0;totalCount<256;totalCount++) {
+        for(int totalCount=0;totalCount<NUMBER_OF_TESTS;totalCount++) {

         boolean isSSK = (totalCount & 0x1) == 1;



Reply via email to