Skip to content

Commit

Permalink
Updating ssh unit test to really check for SSH in the payload
Browse files Browse the repository at this point in the history
  • Loading branch information
anuchandy committed Jun 28, 2016
1 parent a464ec1 commit 53221c4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public VirtualMachine createResource(VirtualMachines virtualMachines) throws Exc
}finally {
if(session != null) {session.disconnect();}
}

Assert.assertNotNull(vm.inner().osProfile().linuxConfiguration().ssh());
Assert.assertTrue(vm.inner().osProfile().linuxConfiguration().ssh().publicKeys().size() > 0);
return vm;
}

Expand Down

0 comments on commit 53221c4

Please sign in to comment.