Repository: ignite
Updated Branches:
  refs/heads/ignite-2.5 db3099e07 -> e904b7b12


IGNITE-8256 Fixed simulated node failure in the test


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

Branch: refs/heads/ignite-2.5
Commit: e904b7b12a9bf4e038d13e39e7d85eaccfb40d65
Parents: db3099e
Author: Alexey Goncharuk <alexey.goncha...@gmail.com>
Authored: Fri Apr 13 18:01:00 2018 +0300
Committer: Alexey Goncharuk <alexey.goncha...@gmail.com>
Committed: Fri Apr 13 18:02:08 2018 +0300

----------------------------------------------------------------------
 .../cache/distributed/dht/TxRecoveryStoreEnabledTest.java         | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/e904b7b1/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/TxRecoveryStoreEnabledTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/TxRecoveryStoreEnabledTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/TxRecoveryStoreEnabledTest.java
index 060af21..30ac83d 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/TxRecoveryStoreEnabledTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/TxRecoveryStoreEnabledTest.java
@@ -32,6 +32,7 @@ import org.apache.ignite.cache.store.CacheStoreAdapter;
 import org.apache.ignite.cluster.ClusterNode;
 import org.apache.ignite.configuration.CacheConfiguration;
 import org.apache.ignite.configuration.IgniteConfiguration;
+import org.apache.ignite.failure.StopNodeFailureHandler;
 import org.apache.ignite.internal.IgniteInternalFuture;
 import org.apache.ignite.internal.IgniteInterruptedCheckedException;
 import org.apache.ignite.internal.managers.discovery.IgniteDiscoverySpi;
@@ -81,6 +82,8 @@ public class TxRecoveryStoreEnabledTest extends 
GridCommonAbstractTest {
 
         cfg.setCacheConfiguration(ccfg);
 
+        cfg.setFailureHandler(new StopNodeFailureHandler());
+
         return cfg;
     }
 

Reply via email to