mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
Merge branch '4.20'
This commit is contained in:
commit
c2c1e11580
@ -238,7 +238,7 @@ public class VMSchedulerImplTest {
|
|||||||
Date expectedScheduledTime = Date.from(zonedDateTime.toInstant());
|
Date expectedScheduledTime = Date.from(zonedDateTime.toInstant());
|
||||||
|
|
||||||
if (expectedScheduledTime.before(startDate)) {
|
if (expectedScheduledTime.before(startDate)) {
|
||||||
expectedScheduledTime = DateUtils.addDays(expectedScheduledTime, 1);
|
expectedScheduledTime = Date.from(zonedDateTime.plusDays(1).toInstant());
|
||||||
}
|
}
|
||||||
|
|
||||||
Date actualScheduledTime = vmScheduler.scheduleNextJob(vmSchedule, new Date());
|
Date actualScheduledTime = vmScheduler.scheduleNextJob(vmSchedule, new Date());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user