mirror of https://github.com/apache/jclouds.git
added details when assertions fail
This commit is contained in:
parent
27dcb1dedc
commit
d44ef35ecf
|
@ -497,8 +497,8 @@ public abstract class BaseComputeServiceLiveTest {
|
||||||
@Test(enabled = true, dependsOnMethods = "testSuspendResume")
|
@Test(enabled = true, dependsOnMethods = "testSuspendResume")
|
||||||
public void testListNodes() throws Exception {
|
public void testListNodes() throws Exception {
|
||||||
for (ComputeMetadata node : client.listNodes()) {
|
for (ComputeMetadata node : client.listNodes()) {
|
||||||
assert node.getProviderId() != null;
|
assert node.getProviderId() != null : node;
|
||||||
assert node.getLocation() != null;
|
assert node.getLocation() != null : node;
|
||||||
assertEquals(node.getType(), ComputeType.NODE);
|
assertEquals(node.getType(), ComputeType.NODE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue