This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch buildfix
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/buildfix by this push:
     new e3bc1f6  investigating build failure
e3bc1f6 is described below

commit e3bc1f66181bfbf5784246d894bac5382faa3434
Author: tibordigana <[email protected]>
AuthorDate: Wed Jul 17 01:40:22 2019 +0200

    investigating build failure
---
 .../src/main/java/org/apache/maven/surefire/booter/ForkedBooter.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/surefire-booter/src/main/java/org/apache/maven/surefire/booter/ForkedBooter.java
 
b/surefire-booter/src/main/java/org/apache/maven/surefire/booter/ForkedBooter.java
index de4642f..a7b266d 100644
--- 
a/surefire-booter/src/main/java/org/apache/maven/surefire/booter/ForkedBooter.java
+++ 
b/surefire-booter/src/main/java/org/apache/maven/surefire/booter/ForkedBooter.java
@@ -425,6 +425,7 @@ public final class ForkedBooter
         ScheduledThreadPoolExecutor executor = new 
ScheduledThreadPoolExecutor( 2, threadFactory );
         //executor.setKeepAliveTime( 3L, SECONDS );
         executor.setMaximumPoolSize( 2 );
+        executor.prestartAllCoreThreads();
         return executor;
     }
 

Reply via email to