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

sk0x50 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 83a3e1e7058 IGNITE-27921 Fix `address already in use` issue (#7636)
83a3e1e7058 is described below

commit 83a3e1e70583bee560b0b126a98e25531b530b6b
Author: Slava Koptilin <[email protected]>
AuthorDate: Wed Feb 25 10:35:24 2026 +0200

    IGNITE-27921 Fix `address already in use` issue (#7636)
---
 .../apache/ignite/internal/testframework/IgniteTestUtils.java    | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git 
a/modules/core/src/testFixtures/java/org/apache/ignite/internal/testframework/IgniteTestUtils.java
 
b/modules/core/src/testFixtures/java/org/apache/ignite/internal/testframework/IgniteTestUtils.java
index 2cc9da54449..9a26e685fee 100644
--- 
a/modules/core/src/testFixtures/java/org/apache/ignite/internal/testframework/IgniteTestUtils.java
+++ 
b/modules/core/src/testFixtures/java/org/apache/ignite/internal/testframework/IgniteTestUtils.java
@@ -933,6 +933,15 @@ public final class IgniteTestUtils {
                 thread.interrupt();
             }
 
+            // Wait for all internal threads to complete before failing the 
execution.
+            for (Thread thread : threads) {
+                try {
+                    thread.join();
+                } catch (InterruptedException ex) {
+                    Thread.currentThread().interrupt();
+                }
+            }
+
             throw createAssertionError("Race operations took too long.", e, 
throwables);
         }
 

Reply via email to