Skip to content

Commit

Permalink
Link to configuration parameter section
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Nov 6, 2024
1 parent cb3fbfb commit 216377b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions documentation/src/docs/asciidoc/user-guide/writing-tests.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2670,13 +2670,16 @@ diagnosing the cause of a timeout.

[[writing-tests-declarative-timeouts-debugging-thread-dump]]
===== Thread Dump on Timeout
JUnit registers a default implementation of the <<extensions-preinterrupt-callback>> extension point that
dumps the stacks of all threads to `System.out` if enabled by setting the
`junit.jupiter.execution.timeout.threaddump.enabled` configuration parameter to `true`.

JUnit registers a default implementation of the <<extensions-preinterrupt-callback>>
extension point that dumps the stacks of all threads to `System.out` if enabled by setting
the `junit.jupiter.execution.timeout.threaddump.enabled`
<<running-tests-build-gradle-config-params, configuration parameter>> to `true`.


[[writing-tests-declarative-timeouts-mode]]
==== Disable @Timeout Globally

When stepping through your code in a debug session, a fixed timeout limit may influence
the result of the test, e.g. mark the test as failed although all assertions were met.

Expand Down

0 comments on commit 216377b

Please sign in to comment.