diff --git a/extensions/scheduler/deployment/src/test/java/io/quarkus/scheduler/test/PausedSchedulerTest.java b/extensions/scheduler/deployment/src/test/java/io/quarkus/scheduler/test/PausedSchedulerTest.java index 10c5fd089272f..db2c6412d9109 100644 --- a/extensions/scheduler/deployment/src/test/java/io/quarkus/scheduler/test/PausedSchedulerTest.java +++ b/extensions/scheduler/deployment/src/test/java/io/quarkus/scheduler/test/PausedSchedulerTest.java @@ -44,14 +44,14 @@ public void testSchedulerPauseResume() throws InterruptedException { // this should have no effect because the scheduler is paused jobs.running.set(true); - assertFalse(Jobs.JOB_LATCH.await(2, TimeUnit.SECONDS)); + assertFalse(Jobs.JOB_LATCH.await(4, TimeUnit.SECONDS)); scheduler.resume(); assertTrue(scheduler.isRunning()); assertTrue(Jobs.RESUMED_EVENT.get()); - assertTrue(Jobs.JOB_LATCH.await(3, TimeUnit.SECONDS)); - assertTrue(Jobs.EVENT_LATCH.await(3, TimeUnit.SECONDS)); + assertTrue(Jobs.JOB_LATCH.await(4, TimeUnit.SECONDS)); + assertTrue(Jobs.EVENT_LATCH.await(4, TimeUnit.SECONDS)); } @Singleton