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 22a9ff5 investigating build failure
22a9ff5 is described below
commit 22a9ff5305ed984ea21341e3c100515b7c85a07f
Author: tibordigana <[email protected]>
AuthorDate: Wed Jul 17 12:10:58 2019 +0200
investigating build failure
---
.../main/java/org/apache/maven/surefire/booter/ForkedBooter.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
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 b75f0c1..22dfb56 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
@@ -61,7 +61,7 @@ import static
org.apache.maven.surefire.util.internal.DaemonThreadFactory.newDae
public final class ForkedBooter
{
private static final long DEFAULT_SYSTEM_EXIT_TIMEOUT_IN_SECONDS = 10L;
- private static final long PING_TIMEOUT_IN_SECONDS = 10L;
+ private static final long PING_TIMEOUT_IN_SECONDS = 30L;
private static final long ONE_SECOND_IN_MILLIS = 1000L;
private static final String LAST_DITCH_SHUTDOWN_THREAD =
"surefire-forkedjvm-last-ditch-daemon-shutdown-thread-";
private static final String PING_THREAD = "surefire-forkedjvm-ping-";
@@ -175,7 +175,7 @@ public final class ForkedBooter
AtomicBoolean pingDone = new AtomicBoolean( true );
commandReader.addNoopListener( createPingHandler( pingDone ) );
- PingScheduler pingMechanisms = new PingScheduler(
createPingScheduler(),
+ /*PingScheduler pingMechanisms = new PingScheduler(
createPingScheduler(),
ppid == null ? null
: new PpidChecker( ppid ) );
if ( pingMechanisms.pluginProcessChecker != null )
{
@@ -185,7 +185,8 @@ public final class ForkedBooter
Runnable pingJob = createPingJob( pingDone,
pingMechanisms.pluginProcessChecker );
pingMechanisms.pingScheduler.scheduleAtFixedRate( pingJob, 0L,
PING_TIMEOUT_IN_SECONDS, SECONDS );
- return pingMechanisms;
+ return pingMechanisms;*/
+ return null;
}
private Runnable processCheckerJob( final PingScheduler pingMechanism )