File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
documentation/src/test/java/example Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,15 @@ void setUp() {
2727 }
2828
2929 @ Test
30- @ Timeout (value = 100 , unit = TimeUnit .MILLISECONDS )
31- void failsIfExecutionTimeExceeds100Milliseconds () {
32- // fails if execution time exceeds 100 milliseconds
30+ @ Timeout (value = 500 , unit = TimeUnit .MILLISECONDS )
31+ void failsIfExecutionTimeExceeds500Milliseconds () {
32+ // fails if execution time exceeds 500 milliseconds
3333 }
3434
3535 @ Test
36- @ Timeout (value = 100 , unit = TimeUnit .MILLISECONDS , threadMode = ThreadMode .SEPARATE_THREAD )
37- void failsIfExecutionTimeExceeds100MillisecondsInSeparateThread () {
38- // fails if execution time exceeds 100 milliseconds, the test code is executed in a separate thread
36+ @ Timeout (value = 500 , unit = TimeUnit .MILLISECONDS , threadMode = ThreadMode .SEPARATE_THREAD )
37+ void failsIfExecutionTimeExceeds500MillisecondsInSeparateThread () {
38+ // fails if execution time exceeds 500 milliseconds, the test code is executed in a separate thread
3939 }
4040
4141}
You can’t perform that action at this time.
0 commit comments