Skip to content

Commit 1e645e4

Browse files
committed
Add to release notes
1 parent b3d17ad commit 1e645e4

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

documentation/src/docs/asciidoc/release-notes/release-notes-6.1.0-M1.adoc

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,20 @@ repository on GitHub.
2121
[[release-notes-6.1.0-M1-junit-platform-deprecations-and-breaking-changes]]
2222
==== Deprecations and Breaking Changes
2323

24-
* ❓
24+
* Deprecate constructors for `ForkJoinPoolHierarchicalTestExecutorService` in favor of the
25+
new `ConcurrentHierarchicalTestExecutorServiceFactory` that also supports
26+
`WorkerThreadPoolHierarchicalTestExecutorService`.
2527

2628
[[release-notes-6.1.0-M1-junit-platform-new-features-and-improvements]]
2729
==== New Features and Improvements
2830

2931
* Support for creating a `ModuleSelector` from a `java.lang.Module` and using
3032
its classloader for test discovery.
33+
* New `WorkerThreadPoolHierarchicalTestExecutorService` implementation of parallel test
34+
execution that is backed by a regular thread pool rather than a `ForkJoinPool`. Engine
35+
authors should switch to use `ConcurrentHierarchicalTestExecutorServiceFactory` rather
36+
than instantiating a concrete `HierarchicalTestExecutorService` implementation for
37+
parallel execution directly.
3138

3239

3340
[[release-notes-6.1.0-M1-junit-jupiter]]
@@ -55,6 +62,13 @@ repository on GitHub.
5562
* Enrich `assertInstanceOf` failure using the test subject `Throwable` as cause. It
5663
results in the stack trace of the test subject `Throwable` to get reported along with
5764
the failure.
65+
* Make implementation of `HierarchicalTestExecutorService` used for parallel test
66+
execution configurable via the new
67+
`junit.jupiter.execution.parallel.config.executor-service` configuration parameter to
68+
in order to add support for `WorkerThreadPoolHierarchicalTestExecutorService`. Please
69+
refer to the
70+
<<../user-guide/index.adoc#writing-tests-parallel-execution-config-executor-service, User Guide>>
71+
for details.
5872

5973
[[release-notes-6.1.0-M1-junit-vintage]]
6074
=== JUnit Vintage

0 commit comments

Comments
 (0)