mirror of https://github.com/apache/jclouds.git
slight fixes for softlayer tests
This commit is contained in:
parent
cecff8f681
commit
467381bd51
|
@ -77,7 +77,7 @@ public class SoftLayerComputeServiceAdapterLiveTest extends BaseSoftLayerClientL
|
|||
|
||||
guest = adapter.createNodeWithGroupEncodedIntoName(group, name, template);
|
||||
assertEquals(guest.getNode().getHostname(), name);
|
||||
assertEquals(guest.getNodeId(), guest.getNode().getId());
|
||||
assertEquals(guest.getNodeId(), guest.getNode().getId() + "");
|
||||
assertEquals(guest.getNode().getDomain(), template.getOptions().as(SoftLayerTemplateOptions.class)
|
||||
.getDomainName());
|
||||
assert InetAddresses.isInetAddress(guest.getNode().getPrimaryBackendIpAddress()) : guest;
|
||||
|
|
|
@ -48,7 +48,7 @@ public class SoftLayerExperimentLiveTest extends BaseVersionedServiceLiveTest {
|
|||
context = new ComputeServiceContextFactory().createContext(provider, identity, credential, ImmutableSet
|
||||
.<Module> of(new Log4JLoggingModule(), new SshjSshClientModule()));
|
||||
|
||||
assertEquals(context.getComputeService().listAssignableLocations().size(), 7);
|
||||
assertEquals(context.getComputeService().listAssignableLocations().size(), 6);
|
||||
|
||||
} finally {
|
||||
if (context != null)
|
||||
|
|
Loading…
Reference in New Issue