You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by sj...@apache.org on 2016/11/28 11:47:03 UTC

[2/4] brooklyn-server git commit: BROOKLYN-400: add failing test

BROOKLYN-400: add failing test

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/49647513
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/49647513
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/49647513

Branch: refs/heads/master
Commit: 496475133bde3b1241f1ac20d71e5f172b6189f0
Parents: cd731fe
Author: Aled Sage <al...@gmail.com>
Authored: Wed Nov 23 18:22:40 2016 +0000
Committer: Aled Sage <al...@gmail.com>
Committed: Wed Nov 23 18:25:40 2016 +0000

----------------------------------------------------------------------
 .../jclouds/JcloudsAwsImageChoiceStubbedLiveTest.java     | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/49647513/locations/jclouds/src/test/java/org/apache/brooklyn/location/jclouds/JcloudsAwsImageChoiceStubbedLiveTest.java
----------------------------------------------------------------------
diff --git a/locations/jclouds/src/test/java/org/apache/brooklyn/location/jclouds/JcloudsAwsImageChoiceStubbedLiveTest.java b/locations/jclouds/src/test/java/org/apache/brooklyn/location/jclouds/JcloudsAwsImageChoiceStubbedLiveTest.java
index caf5ea2..8d75598 100644
--- a/locations/jclouds/src/test/java/org/apache/brooklyn/location/jclouds/JcloudsAwsImageChoiceStubbedLiveTest.java
+++ b/locations/jclouds/src/test/java/org/apache/brooklyn/location/jclouds/JcloudsAwsImageChoiceStubbedLiveTest.java
@@ -102,6 +102,16 @@ public class JcloudsAwsImageChoiceStubbedLiveTest extends AbstractJcloudsStubbed
         assertUbuntu(image, "14.04");
     }
     
+    // TODO See https://issues.apache.org/jira/browse/BROOKLYN-400
+    @Test(groups={"Broken", "Live", "Live-sanity"})
+    public void testUbuntu16() throws Exception {
+        obtainMachine(ImmutableMap.of(JcloudsLocation.OS_FAMILY, "ubuntu", JcloudsLocation.OS_VERSION_REGEX, "16.*"));
+        Image image = template.getImage();
+
+        LOG.info("ubuntu_16="+image);
+        assertUbuntu(image, "16.04");
+    }
+    
     // See testCentos7
     @Test(groups={"Live", "Live-sanity"})
     public void testCentos() throws Exception {