@@ -79,12 +79,12 @@ public void testShutdownNow(ExecutorType executorType) throws InterruptedExcepti
79
79
assertThatThrownBy (() -> view .execute (NullRunnable .getInstance ()))
80
80
.as ("Submitting work after invoking shutdown or shutdownNow should fail" )
81
81
.isInstanceOf (RejectedExecutionException .class );
82
- Awaitility .waitAtMost (500 , TimeUnit .MILLISECONDS ).untilAsserted (() -> {
82
+ Awaitility .waitAtMost (3 , TimeUnit .SECONDS ).untilAsserted (() -> {
83
83
assertThat (interrupted ).isTrue ();
84
84
assertThat (view .isTerminated ()).isFalse ();
85
85
});
86
86
interruptedLatch .countDown ();
87
- Awaitility .waitAtMost (500 , TimeUnit .MILLISECONDS )
87
+ Awaitility .waitAtMost (3 , TimeUnit .SECONDS )
88
88
.untilAsserted (() -> assertThat (view .isTerminated ()).as ("%s" , view ).isTrue ());
89
89
90
90
assertCleanShutdown (cached );
@@ -182,7 +182,7 @@ public void testShutdown(ExecutorType executorType) throws InterruptedException
182
182
.as ("Submitting work after invoking shutdown or shutdown should fail" )
183
183
.isInstanceOf (RejectedExecutionException .class );
184
184
assertThat (view .isTerminated ()).isFalse ();
185
- Awaitility .waitAtMost (600 , TimeUnit .MILLISECONDS )
185
+ Awaitility .waitAtMost (3 , TimeUnit .SECONDS )
186
186
.untilAsserted (() -> assertThat (view .isTerminated ()).as ("%s" , view ).isTrue ());
187
187
assertThat (interrupted ).isFalse ();
188
188
0 commit comments