From e64d533ab526c3aa395c8a29520d30d7b16c2bbc Mon Sep 17 00:00:00 2001 From: Harry Yang Date: Tue, 9 Apr 2024 22:17:15 +0800 Subject: [PATCH] :white_check_mark: --- .../concurrent/AbstractSchedulingTaskExecutorTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/today-context/src/test/java/cn/taketoday/scheduling/concurrent/AbstractSchedulingTaskExecutorTests.java b/today-context/src/test/java/cn/taketoday/scheduling/concurrent/AbstractSchedulingTaskExecutorTests.java index 12b737d1f1..be6e4dddec 100644 --- a/today-context/src/test/java/cn/taketoday/scheduling/concurrent/AbstractSchedulingTaskExecutorTests.java +++ b/today-context/src/test/java/cn/taketoday/scheduling/concurrent/AbstractSchedulingTaskExecutorTests.java @@ -290,8 +290,8 @@ void submitListenableCallableWithGetAfterShutdown() throws Exception { Future future2 = executor.submit(new TestCallable(this.testName, -1)); shutdownExecutor(); assertThatExceptionOfType(CancellationException.class).isThrownBy(() -> { - future1.get(1000, TimeUnit.MILLISECONDS); - future2.get(1000, TimeUnit.MILLISECONDS); + future1.get(2000, TimeUnit.MILLISECONDS); + future2.get(2000, TimeUnit.MILLISECONDS); }); }