mirror of https://github.com/apache/jclouds.git
more details when ip addresses come out unexpected
This commit is contained in:
parent
e1f64356d9
commit
e5d3408d27
|
@ -487,8 +487,10 @@ public abstract class BaseComputeServiceLiveTest extends BaseVersionedServiceLiv
|
||||||
checkOsMatchesTemplate(metadata);
|
checkOsMatchesTemplate(metadata);
|
||||||
assert (metadata.getState() == NodeState.RUNNING) : metadata;
|
assert (metadata.getState() == NodeState.RUNNING) : metadata;
|
||||||
// due to DHCP the addresses can actually change in-between runs.
|
// due to DHCP the addresses can actually change in-between runs.
|
||||||
assertEquals(metadata.getPrivateAddresses().size(), node.getPrivateAddresses().size());
|
assertEquals(metadata.getPrivateAddresses().size(), node.getPrivateAddresses().size(), String.format(
|
||||||
assertEquals(metadata.getPublicAddresses().size(), node.getPublicAddresses().size());
|
"[%s] didn't match: [%s]", metadata.getPrivateAddresses(), node.getPrivateAddresses().size()));
|
||||||
|
assertEquals(metadata.getPublicAddresses().size(), node.getPublicAddresses().size(), String.format(
|
||||||
|
"[%s] didn't match: [%s]", metadata.getPublicAddresses(), node.getPublicAddresses().size()));
|
||||||
}
|
}
|
||||||
assertNodeZero(metadataMap.values());
|
assertNodeZero(metadataMap.values());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue