File tree 1 file changed +6
-6
lines changed
documentation/src/test/java/example
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,15 @@ void setUp() {
27
27
}
28
28
29
29
@ 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
33
33
}
34
34
35
35
@ 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
39
39
}
40
40
41
41
}
You can’t perform that action at this time.
0 commit comments