Repository: incubator-brooklyn Updated Branches: refs/heads/master 7804628d2 -> 3610d8a5f
EC2 CentOS 6.3 test: openIptables=true - The AMI has iptables locked down; need to open iptables for the jclouds âopen portsâ. Otherwise things like JBoss7 live test fails. Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/6e1ec726 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/6e1ec726 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/6e1ec726 Branch: refs/heads/master Commit: 6e1ec7260328342925fd565b05ec9980c8835ee8 Parents: 94db5ff Author: Aled Sage <[email protected]> Authored: Thu Nov 6 13:38:00 2014 +0000 Committer: Aled Sage <[email protected]> Committed: Thu Nov 6 13:38:00 2014 +0000 ---------------------------------------------------------------------- .../base/src/test/java/brooklyn/entity/AbstractEc2LiveTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6e1ec726/software/base/src/test/java/brooklyn/entity/AbstractEc2LiveTest.java ---------------------------------------------------------------------- diff --git a/software/base/src/test/java/brooklyn/entity/AbstractEc2LiveTest.java b/software/base/src/test/java/brooklyn/entity/AbstractEc2LiveTest.java index 64db32d..9490c98 100644 --- a/software/base/src/test/java/brooklyn/entity/AbstractEc2LiveTest.java +++ b/software/base/src/test/java/brooklyn/entity/AbstractEc2LiveTest.java @@ -25,6 +25,7 @@ import org.testng.annotations.Test; import brooklyn.config.BrooklynProperties; import brooklyn.location.Location; +import brooklyn.location.jclouds.JcloudsLocation; import brooklyn.location.jclouds.JcloudsLocationConfig; import brooklyn.test.entity.LocalManagementContextForTests; import brooklyn.util.collections.MutableMap; @@ -100,8 +101,9 @@ public abstract class AbstractEc2LiveTest extends BrooklynAppLiveTestSupport { @Test(groups = {"Live"}) public void test_CentOS_6_3() throws Exception { + // TODO Should openIptables=true be the default?! // Image: {id=us-east-1/ami-a96b01c0, providerId=ami-a96b01c0, name=CentOS-6.3-x86_64-GA-EBS-02-85586466-5b6c-4495-b580-14f72b4bcf51-ami-bb9af1d2.1, location={scope=REGION, id=us-east-1, description=us-east-1, parent=aws-ec2, iso3166Codes=[US-VA]}, os={family=centos, arch=paravirtual, version=6.3, description=aws-marketplace/CentOS-6.3-x86_64-GA-EBS-02-85586466-5b6c-4495-b580-14f72b4bcf51-ami-bb9af1d2.1, is64Bit=true}, description=CentOS-6.3-x86_64-GA-EBS-02 on EBS x86_64 20130527:1219, version=bb9af1d2.1, status=AVAILABLE[available], loginUser=root, userMetadata={owner=679593333241, rootDeviceType=ebs, virtualizationType=paravirtual, hypervisor=xen}}) - runTest(ImmutableMap.of("imageId", "us-east-1/ami-a96b01c0", "hardwareId", SMALL_HARDWARE_ID)); + runTest(ImmutableMap.of("imageId", "us-east-1/ami-a96b01c0", "hardwareId", SMALL_HARDWARE_ID, JcloudsLocation.OPEN_IPTABLES.getName(), true)); } @Test(groups = {"Live"})
