tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1143197 - /tomcat/trunk/test/org/apache/catalina/tribes/group/TestGroupChannelMemberArrival.java
Date Tue, 05 Jul 2011 20:33:28 GMT
Author: markt
Date: Tue Jul  5 20:33:28 2011
New Revision: 1143197

URL: http://svn.apache.org/viewvc?rev=1143197&view=rev
Log:
Not just this test failing. Need a better solution. Revert r1143126.

Modified:
    tomcat/trunk/test/org/apache/catalina/tribes/group/TestGroupChannelMemberArrival.java

Modified: tomcat/trunk/test/org/apache/catalina/tribes/group/TestGroupChannelMemberArrival.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/tribes/group/TestGroupChannelMemberArrival.java?rev=1143197&r1=1143196&r2=1143197&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/tribes/group/TestGroupChannelMemberArrival.java
(original)
+++ tomcat/trunk/test/org/apache/catalina/tribes/group/TestGroupChannelMemberArrival.java
Tue Jul  5 20:33:28 2011
@@ -67,11 +67,7 @@ public class TestGroupChannelMemberArriv
             };
             threads[i] = t;
         }
-        for (int i=0; i<threads.length; i++ ) {
-            threads[i].start();
-            // Delay prevents binding errors on linux for BIO & APR
-            Thread.sleep(10);
-        }
+        for (int i=0; i<threads.length; i++ ) threads[i].start();
         for (int i=0; i<threads.length; i++ ) threads[i].join();
         Thread.sleep(2000);
         System.out.println("All channels started.");



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message