sureshanaparti commented on code in PR #11914:
URL: https://github.com/apache/cloudstack/pull/11914#discussion_r2464775947
##########
plugins/maintenance/src/test/java/org/apache/cloudstack/maintenance/ManagementServerMaintenanceManagerImplTest.java:
##########
@@ -339,7 +338,6 @@ public void
prepareForMaintenanceAndCancelFromPreparingForMaintenanceState() {
spy.prepareForMaintenance("static", false);
});
-
Mockito.when(msHost.getState()).thenReturn(ManagementServerHost.State.PreparingForMaintenance);
Review Comment:
check if ManagementServerMaintenanceManagerImpl::cancelMaintenanceTask() is
taking the right path based on the ms host state, as these states are 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]