You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2019/11/12 10:54:16 UTC

[maven-surefire] 01/22: [SUREFIRE-1707] Forked JVM is killed when GC paused the tests for over 30 seconds

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

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

commit 6d700477576e6591135adee564cf1655804f5543
Author: tibordigana <ti...@apache.org>
AuthorDate: Sun Nov 3 04:45:41 2019 +0100

    [SUREFIRE-1707] Forked JVM is killed when GC paused the tests for over 30 seconds
---
 .../src/main/java/org/apache/maven/surefire/booter/ForkedBooter.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 93deb20..3a05844 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
@@ -206,7 +206,7 @@ public final class ForkedBooter
             pingMechanisms.pingScheduler.scheduleWithFixedDelay( checkerJob, 0L, 1L, SECONDS );
         }
         Runnable pingJob = createPingJob( pingDone, pingMechanisms.pluginProcessChecker );
-        pingMechanisms.pingScheduler.scheduleAtFixedRate( pingJob, 0L, PING_TIMEOUT_IN_SECONDS, SECONDS );
+        pingMechanisms.pingScheduler.scheduleWithFixedDelay( pingJob, 0L, PING_TIMEOUT_IN_SECONDS, SECONDS );
 
         return pingMechanisms;
     }