diff --git a/redisson/src/test/java/org/redisson/executor/RedissonScheduledExecutorServiceTest.java b/redisson/src/test/java/org/redisson/executor/RedissonScheduledExecutorServiceTest.java index c422bf565..b9fcca216 100644 --- a/redisson/src/test/java/org/redisson/executor/RedissonScheduledExecutorServiceTest.java +++ b/redisson/src/test/java/org/redisson/executor/RedissonScheduledExecutorServiceTest.java @@ -380,7 +380,7 @@ public class RedissonScheduledExecutorServiceTest extends RedisDockerTest { RScheduledExecutorService executor = redisson.getExecutorService("test", ExecutorOptions.defaults().taskRetryInterval(2, TimeUnit.SECONDS)); executor.schedule(new ScheduledRunnableTask("executed1"), CronSchedule.of("0/5 * * * * ?")); executor.schedule(new ScheduledRunnableTask("executed2"), CronSchedule.of("0/1 * * * * ?")); - Thread.sleep(30500); + Thread.sleep(30100); assertThat(redisson.getAtomicLong("executed1").get()).isEqualTo(6); assertThat(redisson.getAtomicLong("executed2").get()).isEqualTo(30); }