tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1303698 - /tomcat/trunk/test/org/apache/catalina/tribes/group/TestGroupChannelSenderConnections.java
Date Thu, 22 Mar 2012 09:25:25 GMT
Author: markt
Date: Thu Mar 22 09:25:25 2012
New Revision: 1303698

URL: http://svn.apache.org/viewvc?rev=1303698&view=rev
Log:
Review of r1303587 by kkolinko. Ensure domain is set before channels are started.

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

Modified: tomcat/trunk/test/org/apache/catalina/tribes/group/TestGroupChannelSenderConnections.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/tribes/group/TestGroupChannelSenderConnections.java?rev=1303698&r1=1303697&r2=1303698&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/tribes/group/TestGroupChannelSenderConnections.java
(original)
+++ tomcat/trunk/test/org/apache/catalina/tribes/group/TestGroupChannelSenderConnections.java
Thu Mar 22 09:25:25 2012
@@ -50,9 +50,11 @@ public class TestGroupChannelSenderConne
             channels[i].getMembershipService().setPayload( ("Channel-" + (i + 1)).getBytes("ASCII"));
             listeners[i] = new TestMsgListener( ("Listener-" + (i + 1)));
             channels[i].addChannelListener(listeners[i]);
-            channels[i].start(Channel.SND_RX_SEQ|Channel.SND_TX_SEQ);
         }
         TesterUtil.addRandomDomain(channels);
+        for (int i = 0; i < channels.length; i++) {
+            channels[i].start(Channel.SND_RX_SEQ|Channel.SND_TX_SEQ);
+        }
     }
 
     public void sendMessages(long delay, long sleep) throws Exception {



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


Mime
View raw message