Merge branch '4.20'

This commit is contained in:
Harikrishna Patnala 2025-10-26 16:23:10 +05:30
commit c2c1e11580

View File

@ -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());