ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntikho...@apache.org
Subject [31/36] ignite git commit: IGNITE-426 Fixed tests.
Date Wed, 04 Nov 2015 14:11:14 GMT
IGNITE-426 Fixed tests.


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

Branch: refs/heads/ignite-462-2
Commit: e92db09513ec557d030a49b484b8f243ce28c633
Parents: 7ca7693
Author: Tikhonov Nikolay <tikhonovnicolay@gmail.com>
Authored: Tue Nov 3 17:46:26 2015 +0300
Committer: nikolay_tikhonov <ntikhonov@gridgain.com>
Committed: Wed Nov 4 17:02:53 2015 +0300

----------------------------------------------------------------------
 .../CacheContinuousQueryFailoverAbstractSelfTest.java        | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/e92db095/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryFailoverAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryFailoverAbstractSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryFailoverAbstractSelfTest.java
index edf257e..f866424 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryFailoverAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryFailoverAbstractSelfTest.java
@@ -1252,7 +1252,7 @@ public abstract class CacheContinuousQueryFailoverAbstractSelfTest extends
GridC
      * @throws Exception If failed.
      */
     public void testFailover() throws Exception {
-        this.backups = 2;
+        this.backups = 3;
 
         final int SRV_NODES = 4;
 
@@ -1289,12 +1289,18 @@ public abstract class CacheContinuousQueryFailoverAbstractSelfTest
extends GridC
 
                     startGrid(idx);
 
+                    awaitPartitionMapExchange();
+
                     Thread.sleep(200);
 
                     log.info("Stop node: " + idx);
 
                     try {
                         stopGrid(idx);
+
+                        awaitPartitionMapExchange();
+
+                        Thread.sleep(200);
                     }
                     catch (Exception e) {
                         log.warning("Failed to stop nodes.", e);


Mime
View raw message