You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2014/10/22 01:40:20 UTC
[2/7] git commit: BrooklynNode test: bind to all nics
BrooklynNode test: bind to all nics
- On AWS jenkins box, was binding to 127.0.0.1, but then trying to
connect to http://ip-10-107-4-137:8081 (which resolved to
ip-10-107-4-137/10.107.4.137).
- Presumably works for me locally because in /etc/hosts I have the
explicit entry "127.0.0.1 Aleds-MacBook-Pro.local"
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/8faa247f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/8faa247f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/8faa247f
Branch: refs/heads/master
Commit: 8faa247f077f3c7d043777f52a981880d3d132d7
Parents: 5574563
Author: Aled Sage <al...@gmail.com>
Authored: Tue Oct 21 20:10:50 2014 +0100
Committer: Aled Sage <al...@gmail.com>
Committed: Tue Oct 21 20:10:50 2014 +0100
----------------------------------------------------------------------
.../brooklyn/entity/brooklynnode/BrooklynNodeIntegrationTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/8faa247f/software/base/src/test/java/brooklyn/entity/brooklynnode/BrooklynNodeIntegrationTest.java
----------------------------------------------------------------------
diff --git a/software/base/src/test/java/brooklyn/entity/brooklynnode/BrooklynNodeIntegrationTest.java b/software/base/src/test/java/brooklyn/entity/brooklynnode/BrooklynNodeIntegrationTest.java
index 2642046..c411e1a 100644
--- a/software/base/src/test/java/brooklyn/entity/brooklynnode/BrooklynNodeIntegrationTest.java
+++ b/software/base/src/test/java/brooklyn/entity/brooklynnode/BrooklynNodeIntegrationTest.java
@@ -131,7 +131,7 @@ public class BrooklynNodeIntegrationTest {
log.info("Creating entity spec for "+JavaClassNames.callerNiceClassAndMethod(1));
return EntitySpec.create(BrooklynNode.class)
- .configure(BrooklynNode.WEB_CONSOLE_BIND_ADDRESS, Networking.LOOPBACK)
+ .configure(BrooklynNode.WEB_CONSOLE_BIND_ADDRESS, Networking.ANY_NIC)
.configure(BrooklynNode.ON_EXISTING_PROPERTIES_FILE, ExistingFileBehaviour.DO_NOT_USE);
/* yaml equivalent, for testing: