activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbert...@apache.org
Subject [2/2] activemq-artemis git commit: ARTEMIS-621 Several tests do not use getUDPDiscoveryAddress
Date Fri, 15 Jul 2016 14:30:15 GMT
ARTEMIS-621 Several tests do not use getUDPDiscoveryAddress

Fixing the commit 8fdc7a6788797a98d3d0b3f0d79c64987f490281


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

Branch: refs/heads/master
Commit: da9d67335d21d25dfb78de20068111fcb57aa805
Parents: dfe5289
Author: Erich Duda <eduda@redhat.com>
Authored: Thu Jul 14 08:22:22 2016 +0200
Committer: jbertram <jbertram@apache.org>
Committed: Fri Jul 15 09:29:44 2016 -0500

----------------------------------------------------------------------
 .../jms/connection/ConnectionFactorySerializationTest.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/da9d6733/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/connection/ConnectionFactorySerializationTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/connection/ConnectionFactorySerializationTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/connection/ConnectionFactorySerializationTest.java
index f58360c..58b797d 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/connection/ConnectionFactorySerializationTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/connection/ConnectionFactorySerializationTest.java
@@ -84,8 +84,8 @@ public class ConnectionFactorySerializationTest extends JMSTestBase {
       UDPBroadcastEndpointFactory befc = (UDPBroadcastEndpointFactory) dgc.getBroadcastEndpointFactory();
       Assert.assertEquals(Integer.parseInt(System.getProperty("org.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory.localBindPort",
"-1")), befc.getLocalBindPort());
       Assert.assertEquals(System.getProperty("org.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory.localBindAddress"),
befc.getLocalBindAddress());
-      Assert.assertEquals(1234, befc.getGroupPort());
-      Assert.assertEquals("1.2.3.4", befc.getGroupAddress());
+      Assert.assertEquals(getUDPDiscoveryPort(), befc.getGroupPort());
+      Assert.assertEquals(getUDPDiscoveryAddress(), befc.getGroupAddress());
    }
 
    @Test


Mime
View raw message