Skip to content

Commit

Permalink
Increase timeout on assertion for QuartzExportJobSchedulerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanaa committed Jan 11, 2024
1 parent af1e2f7 commit 814f5b1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void testSchedule() throws SchedulerException {
assertEquals(1, schedulerListener.getJobsAddedCount());
assertEquals(1, schedulerListener.getJobsScheduledCount());

await().pollDelay(1, TimeUnit.SECONDS).timeout(30, TimeUnit.SECONDS).untilAsserted(
await().pollDelay(1, TimeUnit.SECONDS).timeout(60, TimeUnit.SECONDS).untilAsserted(
() -> assertEquals(1, jobListener.getJobsExecutedCount()));
}

Expand Down Expand Up @@ -135,7 +135,7 @@ void testScheduleJobWithMultipleTriggers() throws SchedulerException {
assertEquals(1, schedulerListener.getJobsAddedCount());
assertEquals(jobTriggersCount, schedulerListener.getJobsScheduledCount());

await().pollDelay(1, TimeUnit.SECONDS).timeout(30, TimeUnit.SECONDS).untilAsserted(
await().pollDelay(1, TimeUnit.SECONDS).timeout(60, TimeUnit.SECONDS).untilAsserted(
() -> assertEquals(jobTriggersCount, jobListener.getJobsExecutedCount()));
}

Expand Down

0 comments on commit 814f5b1

Please sign in to comment.