You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2018/02/21 16:39:42 UTC
activemq-artemis git commit: NO-JIRA Changing port on test as it will
clash with the CI if running at 8080
Repository: activemq-artemis
Updated Branches:
refs/heads/master f06db19ea -> 55521e85c
NO-JIRA Changing port on test as it will clash with the CI if running at 8080
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/55521e85
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/55521e85
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/55521e85
Branch: refs/heads/master
Commit: 55521e85c9bd04ef36d7d01dbaaf65130db81582
Parents: f06db19
Author: Clebert Suconic <cl...@apache.org>
Authored: Wed Feb 21 11:38:47 2018 -0500
Committer: Clebert Suconic <cl...@apache.org>
Committed: Wed Feb 21 11:38:47 2018 -0500
----------------------------------------------------------------------
.../org/apache/activemq/artemis/utils/NetworkHealthTest.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/55521e85/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..b332428 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
@@ -92,7 +92,7 @@ public class NetworkHealthTest {
private void startHTTPServer() throws IOException {
Assert.assertNull(httpServer);
- InetSocketAddress address = new InetSocketAddress("127.0.0.1", 8080);
+ InetSocketAddress address = new InetSocketAddress("127.0.0.1", 8787);
httpServer = HttpServer.create(address, 100);
httpServer.start();
httpServer.createContext("/", new HttpHandler() {
@@ -197,15 +197,15 @@ public class NetworkHealthTest {
NetworkHealthCheck check = addCheck(new NetworkHealthCheck(null, 100, 1000));
- Assert.assertTrue(check.check(new URL("http://localhost:8080")));
+ Assert.assertTrue(check.check(new URL("http://localhost:8787")));
stopHTTPServer();
- Assert.assertFalse(check.check(new URL("http://localhost:8080")));
+ Assert.assertFalse(check.check(new URL("http://localhost:8787")));
check.addComponent(component);
- URL url = new URL("http://localhost:8080");
+ URL url = new URL("http://localhost:8787");
Assert.assertFalse(check.check(url));
startHTTPServer();