Skip to content

Commit fd27f87

Browse files
committed
Add documentation.
1 parent 922d740 commit fd27f87

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

  • randomizedtesting-jupiter/src/test/java/com/carrotsearch/randomizedtesting/jupiter

randomizedtesting-jupiter/src/test/java/com/carrotsearch/randomizedtesting/jupiter/F005_ThreadLeaks.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class TestClass {
1919
}
2020
```
2121

22-
* The extension is only functional in sequential mode. It should emit a warning and do nothing if tests are
22+
* The extension is **only functional in sequential mode**. It should emit a warning and do nothing if tests are
2323
run in concurrent mode.
2424

2525
* Occasionally there will be threads that cannot be joined but will eventually terminate. One can specify an additional
@@ -38,6 +38,10 @@ public class TestClass {
3838
}
3939
```
4040

41+
* In certain cases, system threads or other threads beyond the test's control may be started and cannot be terminated
42+
within the test's scope. The `@DetectThreadLeaks.ExcludeThreads` annotation can provide programmatic filters which
43+
tell the extension to ignore certain threads.
44+
4145
## Migration notes (from randomizedtesting for junit4)
4246

43-
*
47+

0 commit comments

Comments
 (0)