Compare commits

...

2 Commits

Author SHA1 Message Date
Daan Hoogland 4a59925c44 update debian version for release 4.22.0.1 2026-05-06 12:06:52 +02:00
Abhishek Kumar fb0143f0ce Remove unnecessary stubbings in ManagementServerMaintenanceManagerImplTest (#11914) (#12623) 2026-05-06 11:56:01 +02:00
2 changed files with 6 additions and 2 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
cloudstack (4.22.0.1) unstable; urgency=low
* Update the version to 4.22.0.1
-- the Apache CloudStack project <dev@cloudstack.apache.org> Wed, 06 May 2026 12:03:41 +0200
cloudstack (4.22.0.0) unstable; urgency=low
* Update the version to 4.22.0.0

View File

@ -321,7 +321,6 @@ public class ManagementServerMaintenanceManagerImplTest {
spy.prepareForMaintenance("static", false);
});
Mockito.when(msHost.getState()).thenReturn(ManagementServerHost.State.Maintenance);
Mockito.doNothing().when(jobManagerMock).enableAsyncJobs();
spy.cancelMaintenance();
Mockito.verify(jobManagerMock).enableAsyncJobs();
@ -339,7 +338,6 @@ public class ManagementServerMaintenanceManagerImplTest {
spy.prepareForMaintenance("static", false);
});
Mockito.when(msHost.getState()).thenReturn(ManagementServerHost.State.PreparingForMaintenance);
Mockito.doNothing().when(jobManagerMock).enableAsyncJobs();
spy.cancelMaintenance();
Mockito.verify(jobManagerMock).enableAsyncJobs();