ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [42/50] incubator-ignite git commit: #ignite-sprint-4: fix GridCacheDhtPreloadSelfTest.
Date Tue, 21 Apr 2015 16:43:02 GMT
#ignite-sprint-4: fix GridCacheDhtPreloadSelfTest.


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

Branch: refs/heads/ignite-709
Commit: e5f6e84825b85ca3d7a805e10bcc397d7fe75959
Parents: fc8a98e
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Tue Apr 21 14:45:47 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Tue Apr 21 14:45:47 2015 +0300

----------------------------------------------------------------------
 .../cache/distributed/dht/GridCacheDhtPreloadSelfTest.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e5f6e848/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtPreloadSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtPreloadSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtPreloadSelfTest.java
index 7b39f48..f04b87f 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtPreloadSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtPreloadSelfTest.java
@@ -24,7 +24,6 @@ import org.apache.ignite.cache.affinity.rendezvous.*;
 import org.apache.ignite.cluster.*;
 import org.apache.ignite.configuration.*;
 import org.apache.ignite.events.*;
-import org.apache.ignite.internal.processors.cache.*;
 import org.apache.ignite.internal.processors.cache.distributed.dht.preloader.*;
 import org.apache.ignite.internal.util.typedef.*;
 import org.apache.ignite.internal.util.typedef.internal.*;
@@ -534,7 +533,8 @@ public class GridCacheDhtPreloadSelfTest extends GridCommonAbstractTest
{
                                 ClusterNode node = evt.discoveryNode();
 
                                 return evt.type() == EVT_CACHE_REBALANCE_STOPPED &&
node.id().equals(nodeId) &&
-                                    evt.discoveryEventType() == EVT_NODE_LEFT;
+                                    (evt.discoveryEventType() == EVT_NODE_LEFT ||
+                                    evt.discoveryEventType() == EVT_NODE_FAILED);
                             }
                         }, EVT_CACHE_REBALANCE_STOPPED));
 


Mime
View raw message