From 4719d3d52b66718068e43df38e03274585600be5 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Sun, 13 Nov 2011 13:29:54 +0200 Subject: [PATCH] updated comments --- .../aws/ec2/compute/AWSEC2TemplateBuilderLiveTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/providers/aws-ec2/src/test/java/org/jclouds/aws/ec2/compute/AWSEC2TemplateBuilderLiveTest.java b/providers/aws-ec2/src/test/java/org/jclouds/aws/ec2/compute/AWSEC2TemplateBuilderLiveTest.java index 89dc478edd..c203ec721e 100644 --- a/providers/aws-ec2/src/test/java/org/jclouds/aws/ec2/compute/AWSEC2TemplateBuilderLiveTest.java +++ b/providers/aws-ec2/src/test/java/org/jclouds/aws/ec2/compute/AWSEC2TemplateBuilderLiveTest.java @@ -86,6 +86,8 @@ public class AWSEC2TemplateBuilderLiveTest extends BaseTemplateBuilderLiveTest { public void testTemplateBuilderM1SMALLWithNegativeLookaroundDoesntMatchTestImages() { Template template = context.getComputeService().templateBuilder().hardwareId(InstanceType.M1_SMALL) + // need to select versions with double-digits so that lexicographic + // doesn't end up prefering 9.x vs 11.x .osVersionMatches("1[012].[10][04]") // negative lookahead for daily and testing, but ensure match // ubuntu-images @@ -111,6 +113,8 @@ public class AWSEC2TemplateBuilderLiveTest extends BaseTemplateBuilderLiveTest { Template template = context.getComputeService().templateBuilder() .imageMatches(EC2ImagePredicates.rootDeviceType(RootDeviceType.INSTANCE_STORE)) + // need to select versions with double-digits so that lexicographic + // doesn't end up prefering 9.x vs 11.x .osVersionMatches("1[012].[10][04]") // negative lookahead for daily and testing, but ensure match // ubuntu-images