We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3944a9 commit df5b8cfCopy full SHA for df5b8cf
test-framework/junit5/src/main/java/io/quarkus/test/junit/launcher/CustomLauncherInterceptor.java
@@ -87,6 +87,11 @@ public void launcherDiscoveryStarted(LauncherDiscoveryRequest request) {
87
if (!isProductionModeTests()) {
88
initializeFacadeClassLoader();
89
adjustContextClassLoader();
90
+
91
+ // we need to ensure that the Fork-Join pool will use our thread factory, otherwise the TCCL
92
+ // of the threads could be wrong
93
+ System.setProperty("java.util.concurrent.ForkJoinPool.common.threadFactory",
94
+ "io.quarkus.bootstrap.forkjoin.QuarkusForkJoinWorkerThreadFactory");
95
}
96
97
0 commit comments