You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by al...@apache.org on 2017/10/29 12:25:03 UTC
juddi git commit: NOJIRA another attempt to fix the ci targets
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 <al...@apache.org>
Authored: Sun Oct 29 08:25:00 2017 -0400
Committer: Alex O'Ree <al...@apache.org>
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: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org