File tree 1 file changed +6
-1
lines changed
documentation/src/docs/asciidoc/release-notes
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,12 @@ JUnit repository on GitHub.
90
90
a test-scoped `ExtensionContext` in `Extension` methods called during test class
91
91
instantiation. This behavior will become the default in future versions of JUnit.
92
92
* `@TempDir` is now supported on test class constructors.
93
- * Added `PreInterruptCallback`
93
+ * The new `PreInterruptCallback` extension point defines the API for `Extensions` that
94
+ wish to be called prior to invocations of `Thread#interrupt()` by the `@Timeout`
95
+ extension.
96
+ * When enabled via the `junit.jupiter.execution.timeout.threaddump.enabled` configuration
97
+ parameter, an implementation of `PreInterruptCallback` is registered that writes a
98
+ thread dump to `System.out` prior to interrupting a test thread due to a timeout.
94
99
95
100
96
101
[[release-notes-5.12.0-M1-junit-vintage]]
You can’t perform that action at this time.
0 commit comments