tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1357670 - /openejb/trunk/openejb/server/openejb-multicast/src/test/java/org/apache/openejb/server/discovery/MulticastPulseAgentTest.java
Date Thu, 05 Jul 2012 15:12:20 GMT
Author: rmannibucau
Date: Thu Jul  5 15:12:20 2012
New Revision: 1357670

URL: http://svn.apache.org/viewvc?rev=1357670&view=rev
Log:
fixing compile but not the test

Modified:
    openejb/trunk/openejb/server/openejb-multicast/src/test/java/org/apache/openejb/server/discovery/MulticastPulseAgentTest.java

Modified: openejb/trunk/openejb/server/openejb-multicast/src/test/java/org/apache/openejb/server/discovery/MulticastPulseAgentTest.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/server/openejb-multicast/src/test/java/org/apache/openejb/server/discovery/MulticastPulseAgentTest.java?rev=1357670&r1=1357669&r2=1357670&view=diff
==============================================================================
--- openejb/trunk/openejb/server/openejb-multicast/src/test/java/org/apache/openejb/server/discovery/MulticastPulseAgentTest.java
(original)
+++ openejb/trunk/openejb/server/openejb-multicast/src/test/java/org/apache/openejb/server/discovery/MulticastPulseAgentTest.java
Thu Jul  5 15:12:20 2012
@@ -73,7 +73,7 @@ public class MulticastPulseAgentTest {
 
         final AtomicBoolean running = new AtomicBoolean(true);
         final AtomicBoolean passed = new AtomicBoolean(false);
-        final MulticastSocket client = MulticastPulseAgent.getSocket(host, port);
+        final MulticastSocket client = MulticastPulseAgent.getSockets(host, port)[0];
         final Timer timer = new Timer(true);
         final Set<URI> set = new TreeSet<URI>(new Comparator<URI>() {
             @Override
@@ -190,7 +190,7 @@ public class MulticastPulseAgentTest {
         }
 
         //Pulse the server
-        final MulticastSocket ms = MulticastPulseAgent.getSocket(host, port);
+        final MulticastSocket ms = MulticastPulseAgent.getSockets(host, port)[0];
         ms.send(dp);
 
         //Wait for thread to die



Mime
View raw message