From 8f647729dafd0cd8d8bfbc4cfcde1b829eaed631 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Wed, 25 Oct 2023 10:25:39 +0200 Subject: [PATCH] Try to stabilize PausedSchedulerTest Let's give things a bit more time as CI is slow. --- .../java/io/quarkus/scheduler/test/PausedSchedulerTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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