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

av pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 260228b486a IGNITE-21165 : .NET platform test timeouts (#11160)
260228b486a is described below

commit 260228b486a66770488658542c39c931e0f73a72
Author: Vladimir Steshin <vlads...@gmail.com>
AuthorDate: Wed Jan 10 15:00:35 2024 +0300

    IGNITE-21165 : .NET platform test timeouts (#11160)
---
 .../java/org/apache/ignite/platform/PlatformProcessUtils.java    | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git 
a/modules/core/src/test/java/org/apache/ignite/platform/PlatformProcessUtils.java
 
b/modules/core/src/test/java/org/apache/ignite/platform/PlatformProcessUtils.java
index b5933f5ab4f..ac2d41327a7 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/platform/PlatformProcessUtils.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/platform/PlatformProcessUtils.java
@@ -127,13 +127,20 @@ public class PlatformProcessUtils {
     }
 
     /**
-     * Kills the process previously started with {@link #startProcess}.
+     * Kills the process previously started with {@link #startProcess}. Waits 
for until the process stops.
      */
     public static void destroyProcess() throws Exception {
         if (process == null)
             throw new Exception("Process has not been started");
 
+        System.out.println("PlatformProcessUtils >> stopping the process...");
+
         process.destroyForcibly();
+
+        process.waitFor();
+
         process = null;
+
+        System.out.println("PlatformProcessUtils >> the process has stopped.");
     }
 }

Reply via email to