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/04/20 15:19:41 UTC

[maven-surefire] branch docker created (now 52fca10)

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

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


      at 52fca10  Failsafe: Killing self fork JVM. PING timeout elapsed.

This branch includes the following new commits:

     new 52fca10  Failsafe: Killing self fork JVM. PING timeout elapsed.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-surefire] 01/01: Failsafe: Killing self fork JVM. PING timeout elapsed.

Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 52fca107bb248e3b98fb48aa8b426c2495726fd3
Author: tibordigana <ti...@apache.org>
AuthorDate: Sat Apr 20 17:19:30 2019 +0200

    Failsafe: Killing self fork JVM. PING timeout elapsed.
---
 .../main/java/org/apache/maven/surefire/booter/ForkedBooter.java   | 7 +++++--
 1 file changed, 5 insertions(+), 2 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 ebc1b27..4e5bf86 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
@@ -129,7 +129,10 @@ public final class ForkedBooter
             DumpErrorSingleton.getSingleton().dumpException( t );
             eventChannel.consoleErrorLog( new LegacyPojoStackTraceWriter( "test subsystem", "no method", t ), false );
         }
-        acknowledgedExit();
+        finally
+        {
+            acknowledgedExit();
+        }
     }
 
     private Object createTestSet( TypeEncodedValue forkedTestSet, boolean readTestsFromCommandReader, ClassLoader cl )
@@ -183,7 +186,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;
     }