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 <aled.s...@gmail.com>
Authored: Wed Nov 23 18:22:40 2016 +0000
Committer: Aled Sage <aled.s...@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 {

Reply via email to