Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
TAKETODAY committed Apr 9, 2024
1 parent 5472407 commit e64d533
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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);
});
}

0 comments on commit e64d533

Please sign in to comment.