Skip to content

Commit

Permalink
Increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanaa committed Jan 11, 2024
1 parent 58e7854 commit c454984
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(3, TimeUnit.SECONDS).timeout(60, TimeUnit.SECONDS).untilAsserted(
await().pollDelay(3, TimeUnit.SECONDS).timeout(90, 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(3, TimeUnit.SECONDS).timeout(60, TimeUnit.SECONDS).untilAsserted(
await().pollDelay(3, TimeUnit.SECONDS).timeout(90, TimeUnit.SECONDS).untilAsserted(
() -> assertEquals(jobTriggersCount, jobListener.getJobsExecutedCount()));
}

Expand Down

0 comments on commit c454984

Please sign in to comment.