File tree 1 file changed +2
-2
lines changed
junit-jupiter-engine/src/test/java/org/junit/jupiter/engine/extension
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ void timeoutExceededInSeparateThread() {
352
352
Throwable failure = execution .getTerminationInfo ().getExecutionResult ().getThrowable ().orElseThrow ();
353
353
assertThat (failure ) //
354
354
.isInstanceOf (TimeoutException .class ) //
355
- .hasMessage ("testMethod() timed out after 10 milliseconds" );
355
+ .hasMessage ("testMethod() timed out after 100 milliseconds" );
356
356
assertThat (failure .getCause ()) //
357
357
.hasMessageStartingWith ("Execution timed out in " ) //
358
358
.hasStackTraceContaining (TimeoutExceedingSeparateThreadTestCase .class .getName () + ".testMethod" );
@@ -721,7 +721,7 @@ void testMethod() throws InterruptedException {
721
721
722
722
static class TimeoutExceedingSeparateThreadTestCase {
723
723
@ Test
724
- @ Timeout (value = 10 , unit = MILLISECONDS , threadMode = SEPARATE_THREAD )
724
+ @ Timeout (value = 100 , unit = MILLISECONDS , threadMode = SEPARATE_THREAD )
725
725
void testMethod () throws InterruptedException {
726
726
Thread .sleep (1000 );
727
727
}
You can’t perform that action at this time.
0 commit comments