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