Issue 608: investigate template where EC2 AZ is specified explicitly leaves ami with correct region code

This commit is contained in:
Adrian Cole 2011-06-28 11:46:16 -07:00
parent b468d3b047
commit 750be3137d
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ public class AWSEC2TemplateBuilderLiveTest extends BaseTemplateBuilderLiveTest {
assertEquals(template.getImage().getVersion(), "4.4.10");
assertEquals(template.getImage().getUserMetadata().get("rootDeviceType"), "instance-store");
assertEquals(template.getLocation().getId(), "us-east-1a");
assertEquals(template.getImage().getLocation().getId(), "us-east-1");
assertEquals(getCores(template.getHardware()), 4.0d);
assertEquals(template.getHardware().getId(), InstanceType.M2_2XLARGE);
assertEquals(template.getImage().getOperatingSystem().getArch(), "paravirtual");