tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1021880 - /openejb/branches/openejb-3.1.x/server/openejb-multicast/src/test/java/org/apache/openejb/server/discovery/MulticastDiscoveryAgentTest.java
Date Tue, 12 Oct 2010 18:40:21 GMT
Author: dblevins
Date: Tue Oct 12 18:40:21 2010
New Revision: 1021880

URL: http://svn.apache.org/viewvc?rev=1021880&view=rev
Log:
Update test to properly init the Agent

Modified:
    openejb/branches/openejb-3.1.x/server/openejb-multicast/src/test/java/org/apache/openejb/server/discovery/MulticastDiscoveryAgentTest.java

Modified: openejb/branches/openejb-3.1.x/server/openejb-multicast/src/test/java/org/apache/openejb/server/discovery/MulticastDiscoveryAgentTest.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.1.x/server/openejb-multicast/src/test/java/org/apache/openejb/server/discovery/MulticastDiscoveryAgentTest.java?rev=1021880&r1=1021879&r2=1021880&view=diff
==============================================================================
--- openejb/branches/openejb-3.1.x/server/openejb-multicast/src/test/java/org/apache/openejb/server/discovery/MulticastDiscoveryAgentTest.java
(original)
+++ openejb/branches/openejb-3.1.x/server/openejb-multicast/src/test/java/org/apache/openejb/server/discovery/MulticastDiscoveryAgentTest.java
Tue Oct 12 18:40:21 2010
@@ -22,6 +22,7 @@ import java.net.URI;
 import java.net.URISyntaxException;
 import java.io.IOException;
 import java.util.HashSet;
+import java.util.Properties;
 import java.util.Set;
 
 import org.apache.openejb.server.ServiceException;
@@ -77,6 +78,7 @@ public class MulticastDiscoveryAgentTest
 
     private MulticastDiscoveryAgent agent(String id) throws IOException, URISyntaxException,
ServiceException {
         MulticastDiscoveryAgent agent = new MulticastDiscoveryAgent();
+        agent.init(new Properties());
         agent.setDiscoveryListener(new MyDiscoveryListener(id));
         agent.registerService(new URI("ejbd://"+id+":4201"));
         agent.start();



Mime
View raw message