removed softlayer DC

This commit is contained in:
Adrian Cole 2012-01-15 17:58:54 -08:00
parent 22fc14fc09
commit 79e9f23b18
1 changed files with 1 additions and 3 deletions

View File

@ -22,7 +22,6 @@ import static org.jclouds.softlayer.predicates.ProductItemPredicates.capacity;
import static org.jclouds.softlayer.predicates.ProductItemPredicates.categoryCode; import static org.jclouds.softlayer.predicates.ProductItemPredicates.categoryCode;
import static org.jclouds.softlayer.predicates.ProductItemPredicates.units; import static org.jclouds.softlayer.predicates.ProductItemPredicates.units;
import static org.jclouds.softlayer.predicates.ProductPackagePredicates.named; import static org.jclouds.softlayer.predicates.ProductPackagePredicates.named;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertNotNull; import static org.testng.Assert.assertNotNull;
import static org.testng.Assert.assertTrue; import static org.testng.Assert.assertTrue;
@ -108,7 +107,6 @@ public class ProductPackageClientLiveTest extends BaseSoftLayerClientLiveTest {
public void testDatacentersForCloudLayer() { public void testDatacentersForCloudLayer() {
ImmutableSet.Builder<Datacenter> builder = ImmutableSet.builder(); ImmutableSet.Builder<Datacenter> builder = ImmutableSet.builder();
builder.add(Datacenter.builder().id(3).name("dal01").longName("Dallas").build());
builder.add(Datacenter.builder().id(18171).name("sea01").longName("Seattle").build()); builder.add(Datacenter.builder().id(18171).name("sea01").longName("Seattle").build());
builder.add(Datacenter.builder().id(37473).name("wdc01").longName("Washington, DC").build()); 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(138124).name("dal05").longName("Dallas 5").build());
@ -119,7 +117,7 @@ public class ProductPackageClientLiveTest extends BaseSoftLayerClientLiveTest {
Set<Datacenter> expected = builder.build(); Set<Datacenter> expected = builder.build();
Set<Datacenter> datacenters = cloudServerProductPackage.getDatacenters(); Set<Datacenter> datacenters = cloudServerProductPackage.getDatacenters();
assertEquals(datacenters.size(), expected.size()); assert datacenters.size() == expected.size() : datacenters;
assertTrue(datacenters.containsAll(expected)); assertTrue(datacenters.containsAll(expected));
for (Datacenter dataCenter : datacenters) { for (Datacenter dataCenter : datacenters) {