You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ri...@apache.org on 2014/10/27 12:48:10 UTC
[4/7] git commit: Fix QpidIntegrationTest
Fix QpidIntegrationTest
- use correct management URL (otherwise get back 404)
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/7edbe3f4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/7edbe3f4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/7edbe3f4
Branch: refs/heads/master
Commit: 7edbe3f4eb67252547723f0252eb97c97ef0ac43
Parents: 4d77f74
Author: Aled Sage <al...@gmail.com>
Authored: Thu Oct 23 18:44:57 2014 +0100
Committer: Aled Sage <al...@gmail.com>
Committed: Thu Oct 23 19:41:06 2014 +0100
----------------------------------------------------------------------
.../java/brooklyn/entity/messaging/qpid/QpidIntegrationTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/7edbe3f4/software/messaging/src/test/java/brooklyn/entity/messaging/qpid/QpidIntegrationTest.java
----------------------------------------------------------------------
diff --git a/software/messaging/src/test/java/brooklyn/entity/messaging/qpid/QpidIntegrationTest.java b/software/messaging/src/test/java/brooklyn/entity/messaging/qpid/QpidIntegrationTest.java
index d4a3a57..dbd5117 100644
--- a/software/messaging/src/test/java/brooklyn/entity/messaging/qpid/QpidIntegrationTest.java
+++ b/software/messaging/src/test/java/brooklyn/entity/messaging/qpid/QpidIntegrationTest.java
@@ -97,10 +97,10 @@ public class QpidIntegrationTest {
@Test(groups = "Integration")
public void canStartupAndShutdownWithHttpManagement() {
qpid = app.createAndManageChild(EntitySpec.create(QpidBroker.class)
- .configure("httpManagementPort", "8888"));
+ .configure("httpManagementPort", "8888+"));
qpid.start(ImmutableList.of(testLocation));
EntityTestUtils.assertAttributeEqualsEventually(qpid, Startable.SERVICE_UP, true);
- String httpUrl = "http://"+qpid.getAttribute(QpidBroker.HOSTNAME)+":"+qpid.getAttribute(QpidBroker.HTTP_MANAGEMENT_PORT)+"/";
+ String httpUrl = "http://"+qpid.getAttribute(QpidBroker.HOSTNAME)+":"+qpid.getAttribute(QpidBroker.HTTP_MANAGEMENT_PORT)+"/management";
HttpTestUtils.assertHttpStatusCodeEventuallyEquals(httpUrl, 200);
// TODO check actual REST output
qpid.stop();