Repository: activemq
Updated Branches:
  refs/heads/master 511b9b642 -> 8f960ea35


[no jira] remove 1099 port dep for ci test failure RemoteJMXBrokerTest


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/8f960ea3
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/8f960ea3
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/8f960ea3

Branch: refs/heads/master
Commit: 8f960ea356f68dad475658ff43af342d753a57a6
Parents: 511b9b6
Author: gtully <gary.tu...@gmail.com>
Authored: Fri Jan 13 11:44:38 2017 +0000
Committer: gtully <gary.tu...@gmail.com>
Committed: Fri Jan 13 11:44:38 2017 +0000

----------------------------------------------------------------------
 .../src/test/java/org/apache/activemq/web/RemoteJMXBrokerTest.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/8f960ea3/activemq-web/src/test/java/org/apache/activemq/web/RemoteJMXBrokerTest.java
----------------------------------------------------------------------
diff --git 
a/activemq-web/src/test/java/org/apache/activemq/web/RemoteJMXBrokerTest.java 
b/activemq-web/src/test/java/org/apache/activemq/web/RemoteJMXBrokerTest.java
index 3a4e570..64413bd 100644
--- 
a/activemq-web/src/test/java/org/apache/activemq/web/RemoteJMXBrokerTest.java
+++ 
b/activemq-web/src/test/java/org/apache/activemq/web/RemoteJMXBrokerTest.java
@@ -34,6 +34,7 @@ import org.apache.activemq.broker.BrokerService;
 import org.apache.activemq.broker.jmx.DestinationViewMBean;
 import org.apache.activemq.broker.jmx.ManagementContext;
 import org.apache.activemq.command.ActiveMQQueue;
+import org.apache.activemq.util.TestUtils;
 import org.apache.activemq.web.config.SystemPropertiesConfiguration;
 import org.junit.After;
 import org.junit.Before;
@@ -56,6 +57,7 @@ public class RemoteJMXBrokerTest {
     @Before
     public void startUp() throws Exception {
         brokerService = 
BrokerFactory.createBroker("broker:()/remoteBroker?useJmx=true");
+        
brokerService.getManagementContext().setConnectorPort(TestUtils.findOpenPort());
         brokerService.start();
         brokerService.waitUntilStarted();
 

Reply via email to