Repository: juddi
Updated Branches:
  refs/heads/master 36dcab91e -> 580858d85


NOJIRA another attempt to fix the ci targets


Project: http://git-wip-us.apache.org/repos/asf/juddi/repo
Commit: http://git-wip-us.apache.org/repos/asf/juddi/commit/580858d8
Tree: http://git-wip-us.apache.org/repos/asf/juddi/tree/580858d8
Diff: http://git-wip-us.apache.org/repos/asf/juddi/diff/580858d8

Branch: refs/heads/master
Commit: 580858d85455c4468a86a3293ce336d0cb6d5ce4
Parents: 36dcab9
Author: Alex O'Ree <[email protected]>
Authored: Sun Oct 29 08:25:00 2017 -0400
Committer: Alex O'Ree <[email protected]>
Committed: Sun Oct 29 08:25:00 2017 -0400

----------------------------------------------------------------------
 .../JUDDI_091_RMISubscriptionListenerIntegrationTest.java   | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/juddi/blob/580858d8/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_091_RMISubscriptionListenerIntegrationTest.java
----------------------------------------------------------------------
diff --git 
a/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_091_RMISubscriptionListenerIntegrationTest.java
 
b/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_091_RMISubscriptionListenerIntegrationTest.java
index 36d108c..8b80e73 100644
--- 
a/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_091_RMISubscriptionListenerIntegrationTest.java
+++ 
b/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_091_RMISubscriptionListenerIntegrationTest.java
@@ -60,7 +60,8 @@ public class JUDDI_091_RMISubscriptionListenerIntegrationTest 
{
         @AfterClass
         public static void stopManager() throws ConfigurationException {
                 if (!TckPublisher.isEnabled()) return;
-                manager.stop();
+                if (manager!=null)
+                        manager.stop();
                 //shutting down the TCK SubscriptionListener
                 //re
         }
@@ -75,7 +76,9 @@ public class JUDDI_091_RMISubscriptionListenerIntegrationTest 
{
                         randomPort = 19800 + new Random().nextInt(99);
                         System.out.println("RMI Random port=" + randomPort);
                         //bring up the RMISubscriptionListener
-                        URI rmiEndPoint = new URI("rmi://localhost:" + 
randomPort + "/tck/rmisubscriptionlistener");
+                        //saw this once before
+                        // internal error: ObjID already in use
+                        URI rmiEndPoint = new URI("rmi://localhost:" + 
randomPort + "/tck/rmisubscriptionlistener" + new Random().nextInt() );
                         registry = 
LocateRegistry.createRegistry(rmiEndPoint.getPort());
                         String path = rmiEndPoint.getPath();
                         hostname = InetAddress.getLocalHost().getHostName();
@@ -91,7 +94,7 @@ public class JUDDI_091_RMISubscriptionListenerIntegrationTest 
{
 
                 } catch (Exception e2) {
                         e2.printStackTrace();
-                        Assert.fail();
+                        Assert.fail(e2.getMessage());
                 }
 
                 manager = new UDDIClient();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to