increased tolerance on the test
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 29 Sep 2006 16:21:26 +0000 (16:21 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 29 Sep 2006 16:21:26 +0000 (16:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@451339 13f79535-47bb-0310-9956-ffa450edef68

test/org/apache/catalina/tribes/test/channel/TestDataIntegrity.java

index 47b85c1..e112a0c 100644 (file)
@@ -69,7 +69,7 @@ public class TestDataIntegrity extends TestCase {
         for (int x=0; x<threads.length; x++ ) { threads[x].join();}
         //sleep for 50 sec, let the other messages in
         long start = System.currentTimeMillis();
-        while ( (System.currentTimeMillis()-start)<30000 && msgCount*threadCount!=listener1.count) Thread.sleep(500);
+        while ( (System.currentTimeMillis()-start)<120000 && msgCount*threadCount!=listener1.count) Thread.sleep(500);
         System.err.println("Finished NO_ACK");
         assertEquals("Checking success messages.",msgCount*threadCount,listener1.count);
     }