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);
|
guest = adapter.createNodeWithGroupEncodedIntoName(group, name, template);
|
||||||
assertEquals(guest.getNode().getHostname(), name);
|
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)
|
assertEquals(guest.getNode().getDomain(), template.getOptions().as(SoftLayerTemplateOptions.class)
|
||||||
.getDomainName());
|
.getDomainName());
|
||||||
assert InetAddresses.isInetAddress(guest.getNode().getPrimaryBackendIpAddress()) : guest;
|
assert InetAddresses.isInetAddress(guest.getNode().getPrimaryBackendIpAddress()) : guest;
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class SoftLayerExperimentLiveTest extends BaseVersionedServiceLiveTest {
|
||||||
context = new ComputeServiceContextFactory().createContext(provider, identity, credential, ImmutableSet
|
context = new ComputeServiceContextFactory().createContext(provider, identity, credential, ImmutableSet
|
||||||
.<Module> of(new Log4JLoggingModule(), new SshjSshClientModule()));
|
.<Module> of(new Log4JLoggingModule(), new SshjSshClientModule()));
|
||||||
|
|
||||||
assertEquals(context.getComputeService().listAssignableLocations().size(), 7);
|
assertEquals(context.getComputeService().listAssignableLocations().size(), 6);
|
||||||
|
|
||||||
} finally {
|
} finally {
|
||||||
if (context != null)
|
if (context != null)
|
||||||
|
|
Loading…
Reference in New Issue