diff --git a/sandbox-providers/softlayer/src/test/java/org/jclouds/softlayer/compute/SoftLayerExperimentLiveTest.java b/sandbox-providers/softlayer/src/test/java/org/jclouds/softlayer/compute/SoftLayerExperimentLiveTest.java index 6319a8a3d0..26257ef066 100644 --- a/sandbox-providers/softlayer/src/test/java/org/jclouds/softlayer/compute/SoftLayerExperimentLiveTest.java +++ b/sandbox-providers/softlayer/src/test/java/org/jclouds/softlayer/compute/SoftLayerExperimentLiveTest.java @@ -61,7 +61,7 @@ public class SoftLayerExperimentLiveTest { context = new ComputeServiceContextFactory().createContext("softlayer", identity, credential, ImmutableSet . of(new Log4JLoggingModule(), new SshjSshClientModule())); - assertEquals(context.getComputeService().listAssignableLocations().size(), 5); + assertEquals(context.getComputeService().listAssignableLocations().size(), 6); } finally { if (context != null) diff --git a/sandbox-providers/softlayer/src/test/java/org/jclouds/softlayer/features/ProductPackageClientLiveTest.java b/sandbox-providers/softlayer/src/test/java/org/jclouds/softlayer/features/ProductPackageClientLiveTest.java index 402c68aeee..8899e9a8da 100644 --- a/sandbox-providers/softlayer/src/test/java/org/jclouds/softlayer/features/ProductPackageClientLiveTest.java +++ b/sandbox-providers/softlayer/src/test/java/org/jclouds/softlayer/features/ProductPackageClientLiveTest.java @@ -99,6 +99,7 @@ public class ProductPackageClientLiveTest extends BaseSoftLayerClientLiveTest { builder.add(Datacenter.builder().id(37473).name("wdc01").longName("Washington, DC").build()); builder.add(Datacenter.builder().id(138124).name("dal05").longName("Dallas 5").build()); builder.add(Datacenter.builder().id(168642).name("sjc01").longName("San Jose 1").build()); + builder.add(Datacenter.builder().id(224092).name("sng01").longName("Singapore 1").build()); Set expected = builder.build(); @@ -179,7 +180,8 @@ public class ProductPackageClientLiveTest extends BaseSoftLayerClientLiveTest { private void checkAddress(Address address) { assert address.getId() >0 : address; assert address.getCountry() != null : address; - assert address.getState() != null : address; + if (!address.getCountry().equals("SG")) + assert address.getState() != null : address; } private void checkCategories(Set categories) {