ARTEMIS-1894 Avoiding apache.org URL on codebase (cherry picked from commit 1369690f574c2c97d1fa3930260eae5039b703c1)
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/afa0822f Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/afa0822f Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/afa0822f Branch: refs/heads/1.x Commit: afa0822fd0f8360cb6c43e28f2edd10d4ab5d6f2 Parents: 0a7757b Author: Clebert Suconic <clebertsuco...@apache.org> Authored: Thu Sep 27 14:30:50 2018 -0400 Committer: Justin Bertram <jbert...@apache.org> Committed: Mon Dec 10 14:45:30 2018 -0600 ---------------------------------------------------------------------- .../org/apache/activemq/artemis/utils/NetworkHealthTest.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/afa0822f/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/NetworkHealthTest.java ---------------------------------------------------------------------- diff --git a/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/NetworkHealthTest.java b/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/NetworkHealthTest.java index 6534457..bf4a35e 100644 --- a/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/NetworkHealthTest.java +++ b/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/NetworkHealthTest.java @@ -144,9 +144,8 @@ public class NetworkHealthTest { NetworkHealthCheck check = addCheck(new NetworkHealthCheck(null, 100, 100)); // using two addresses for URI and localhost - check.parseAddressList("localhost, , 127.0.0.2").parseURIList("http://www.redhat.com, , http://www.apache.org"); + check.parseAddressList("localhost, , 127.0.0.2"); Assert.assertEquals(2, check.getAddresses().size()); - Assert.assertEquals(2, check.getUrls().size()); } @Test @@ -154,9 +153,9 @@ public class NetworkHealthTest { NetworkHealthCheck check = addCheck(new NetworkHealthCheck(null, 100, 100)); // using two addresses for URI and localhost - check.parseAddressList("localhost, , 127.0.0.2").parseURIList("http://www.redhat.com, , http://www.apache.org"); + check.parseAddressList("localhost, , 127.0.0.2"); Assert.assertEquals(2, check.getAddresses().size()); - Assert.assertEquals(2, check.getUrls().size()); + Assert.assertEquals(0, check.getUrls().size()); } @Test