Damans227 commented on code in PR #13779:
URL: https://github.com/apache/cloudstack/pull/13779#discussion_r3714050811
##########
server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java:
##########
@@ -1665,6 +1678,103 @@ public void
updateInstanceDetailsMapWithCurrentValuesForAbsentDetailsTestAllCons
Mockito.verify(userVmManagerImpl).addCurrentDetailValueToInstanceDetailsMapIfNewValueWasNotSpecified(Mockito.any(),
Mockito.any(), Mockito.eq(VmDetailConstants.CPU_NUMBER), Mockito.any());
}
+ @Test
+ public void testRestoreVirtualMachineWhenHostRemoved() throws
ResourceUnavailableException, InsufficientCapacityException,
ResourceAllocationException {
Review Comment:
Should we also add a test for the host-row-missing case, not just Removed?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]