mirror of https://github.com/apache/jclouds.git
more work on gogrid tests
This commit is contained in:
parent
489145aa01
commit
2210fe47f0
|
@ -106,7 +106,7 @@ public class GoGridComputeServiceLiveTest extends BaseComputeServiceLiveTest {
|
||||||
NodeMetadata nodeMetadata = service.getNodeMetadata(node);
|
NodeMetadata nodeMetadata = service.getNodeMetadata(node);
|
||||||
assertEquals(nodeMetadata.getPublicAddresses().size(), 1,
|
assertEquals(nodeMetadata.getPublicAddresses().size(), 1,
|
||||||
"There must be 1 public address for the node");
|
"There must be 1 public address for the node");
|
||||||
assertTrue(nodeMetadata.getName().startsWith("testTag"));
|
assertTrue(nodeMetadata.getName().startsWith(this.service));
|
||||||
service.rebootNode(nodeMetadata); // blocks until finished
|
service.rebootNode(nodeMetadata); // blocks until finished
|
||||||
|
|
||||||
assertEquals(service.getNodeMetadata(nodeMetadata).getState(), NodeState.RUNNING);
|
assertEquals(service.getNodeMetadata(nodeMetadata).getState(), NodeState.RUNNING);
|
||||||
|
|
Loading…
Reference in New Issue