more work on gogrid tests

This commit is contained in:
Alex Yarmula 2010-03-10 23:48:16 -08:00
parent 489145aa01
commit 2210fe47f0
1 changed files with 1 additions and 1 deletions

View File

@ -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);