From 41f732dcf75a5849faa9aae57365de77fb3c9625 Mon Sep 17 00:00:00 2001 From: danetsaoo Date: Thu, 18 Jan 2024 15:12:44 -0600 Subject: [PATCH] Increase timeout for testSchedule --- .../des/scheduling/quartz/QuartzExportJobSchedulerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/folio/des/scheduling/quartz/QuartzExportJobSchedulerTest.java b/src/test/java/org/folio/des/scheduling/quartz/QuartzExportJobSchedulerTest.java index c3469d6f..d111104e 100644 --- a/src/test/java/org/folio/des/scheduling/quartz/QuartzExportJobSchedulerTest.java +++ b/src/test/java/org/folio/des/scheduling/quartz/QuartzExportJobSchedulerTest.java @@ -71,7 +71,7 @@ void testSchedule() throws SchedulerException { assertEquals(1, schedulerListener.getJobsAddedCount()); assertEquals(1, schedulerListener.getJobsScheduledCount()); - await().pollDelay(1, TimeUnit.SECONDS).timeout(90, TimeUnit.SECONDS).untilAsserted( + await().pollDelay(1, TimeUnit.SECONDS).timeout(120, TimeUnit.SECONDS).untilAsserted( () -> assertEquals(1, jobListener.getJobsExecutedCount())); }