issue 384: fixed IMachineToNodeMetadataLiveTest as suggested by dralves

This commit is contained in:
Andrea Turli 2012-03-31 11:44:33 +01:00
parent 50815d2483
commit abeeb4b936
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class IMachineToNodeMetadataTest {
NodeMetadata node = new IMachineToNodeMetadata(machineUtils).apply(vm);
assertEquals(MASTER_NAME, node.getName());
assertEquals(0, node.getPrivateAddresses().size());
assertEquals(1, node.getPrivateAddresses().size());
assertEquals(1, node.getPublicAddresses().size());
assertEquals("127.0.0.1", Iterables.get(node.getPublicAddresses(), 0));
assertEquals(MastersLoadingCache.MASTER_PORT, node.getLoginPort());