From 1369690f574c2c97d1fa3930260eae5039b703c1 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Thu, 27 Sep 2018 14:30:50 -0400 Subject: [PATCH] ARTEMIS-1894 Avoiding apache.org URL on codebase --- .../apache/activemq/artemis/utils/NetworkHealthTest.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 a654ff182c..30e090c8de 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 @@ -172,9 +172,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 @@ -182,9 +181,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