Fixed hang in testJoinExchangeBecomeCoordinator.

Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/b1822da3
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/b1822da3
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/b1822da3

Branch: refs/heads/ignite-2893
Commit: b1822da3d29951d727f91c9dedc91e168f727e26
Parents: 7b2e388
Author: sboikov <sboi...@gridgain.com>
Authored: Wed Apr 19 17:53:28 2017 +0300
Committer: sboikov <sboi...@gridgain.com>
Committed: Wed Apr 19 17:53:28 2017 +0300

----------------------------------------------------------------------
 .../cache/distributed/CacheLateAffinityAssignmentTest.java        | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/b1822da3/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheLateAffinityAssignmentTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheLateAffinityAssignmentTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheLateAffinityAssignmentTest.java
index 5ecc5aa..a74117c 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheLateAffinityAssignmentTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheLateAffinityAssignmentTest.java
@@ -1101,13 +1101,12 @@ public class CacheLateAffinityAssignmentTest extends 
GridCommonAbstractTest {
                 U.sleep(5000);
 
                 for (int i = 0; i < NODES; i++)
-                    stopGrid(i);
+                    stopGrid(getTestIgniteInstanceName(i), false, false);
 
                 return null;
             }
         }, "stop-thread");
 
-
         latch.countDown();
 
         Ignite node = startGrid(NODES);

Reply via email to