ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [47/50] incubator-ignite git commit: #ignite-sprint-4: fix GridDiscoveryManagerAliveCacheSelfTest.
Date Tue, 21 Apr 2015 13:35:36 GMT
#ignite-sprint-4: fix GridDiscoveryManagerAliveCacheSelfTest.


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

Branch: refs/heads/ignite-646
Commit: 38de90c867f971f05eaf80d4faa98f56d4794472
Parents: adcb0b6
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Tue Apr 21 15:46:42 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Tue Apr 21 15:46:42 2015 +0300

----------------------------------------------------------------------
 .../discovery/GridDiscoveryManagerAliveCacheSelfTest.java      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/38de90c8/modules/core/src/test/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManagerAliveCacheSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManagerAliveCacheSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManagerAliveCacheSelfTest.java
index 46ebb8b..b36c6f1 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManagerAliveCacheSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManagerAliveCacheSelfTest.java
@@ -101,7 +101,7 @@ public class GridDiscoveryManagerAliveCacheSelfTest extends GridCommonAbstractTe
         for (int i = 0; i < PERM_NODES_CNT; i++) {
             Ignite g = startGrid(gridCntr++);
 
-            g.events().localListen(lsnr, EventType.EVT_NODE_LEFT);
+            g.events().localListen(lsnr, EventType.EVT_NODE_LEFT, EventType.EVT_NODE_FAILED);
 
             alive.add(g);
         }
@@ -205,7 +205,7 @@ public class GridDiscoveryManagerAliveCacheSelfTest extends GridCommonAbstractTe
 
             alive.add(newNode);
 
-            newNode.events().localListen(lsnr, EventType.EVT_NODE_LEFT);
+            newNode.events().localListen(lsnr, EventType.EVT_NODE_LEFT, EventType.EVT_NODE_FAILED);
         }
     }
 
@@ -227,7 +227,7 @@ public class GridDiscoveryManagerAliveCacheSelfTest extends GridCommonAbstractTe
 
         // Remove listeners to avoid receiving events from stopping nodes.
         for (Ignite g : toRmv)
-            g.events().stopLocalListen(lsnr, EventType.EVT_NODE_LEFT);
+            g.events().stopLocalListen(lsnr, EventType.EVT_NODE_LEFT, EventType.EVT_NODE_FAILED);
 
         for (Ignite g : toRmv)
             G.stop(g.name(), false);


Mime
View raw message