File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
junit-jupiter-engine/src/test/java/org/junit/jupiter/engine/extension Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ void timeoutExceededInSeparateThread() {
352352 Throwable failure = execution .getTerminationInfo ().getExecutionResult ().getThrowable ().orElseThrow ();
353353 assertThat (failure ) //
354354 .isInstanceOf (TimeoutException .class ) //
355- .hasMessage ("testMethod() timed out after 10 milliseconds" );
355+ .hasMessage ("testMethod() timed out after 100 milliseconds" );
356356 assertThat (failure .getCause ()) //
357357 .hasMessageStartingWith ("Execution timed out in " ) //
358358 .hasStackTraceContaining (TimeoutExceedingSeparateThreadTestCase .class .getName () + ".testMethod" );
@@ -721,7 +721,7 @@ void testMethod() throws InterruptedException {
721721
722722 static class TimeoutExceedingSeparateThreadTestCase {
723723 @ Test
724- @ Timeout (value = 10 , unit = MILLISECONDS , threadMode = SEPARATE_THREAD )
724+ @ Timeout (value = 100 , unit = MILLISECONDS , threadMode = SEPARATE_THREAD )
725725 void testMethod () throws InterruptedException {
726726 Thread .sleep (1000 );
727727 }
You can’t perform that action at this time.
0 commit comments