You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2018/04/09 02:19:05 UTC

[3/9] ignite git commit: IGNITE-8163 PDS Indexing suite is hanging on TC in different branches including master - Fixes #3766.

IGNITE-8163 PDS Indexing suite is hanging on TC in different branches including master - Fixes #3766.

Signed-off-by: dpavlov <dp...@apache.org>


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

Branch: refs/heads/ignite-8159
Commit: 8053fc1c9c774037018601e1661992644c8319df
Parents: 57aecd7
Author: Sergey Chugunov <se...@gmail.com>
Authored: Fri Apr 6 15:18:12 2018 +0300
Committer: dpavlov <dp...@apache.org>
Committed: Fri Apr 6 15:18:12 2018 +0300

----------------------------------------------------------------------
 .../cache/persistence/db/wal/WalCompactionTest.java       | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/8053fc1c/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/WalCompactionTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/WalCompactionTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/WalCompactionTest.java
index 6b79d90..c1e8967 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/WalCompactionTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/WalCompactionTest.java
@@ -105,7 +105,7 @@ public class WalCompactionTest extends GridCommonAbstractTest {
      */
     public void testApplyingUpdatesFromCompactedWal() throws Exception {
         IgniteEx ig = (IgniteEx)startGrids(3);
-        ig.active(true);
+        ig.cluster().active(true);
 
         IgniteCache<Integer, byte[]> cache = ig.cache("cache");
 
@@ -162,7 +162,8 @@ public class WalCompactionTest extends GridCommonAbstractTest {
             f.delete();
 
         ig = (IgniteEx)startGrids(3);
-        ig.active(true);
+
+        awaitPartitionMapExchange();
 
         cache = ig.cache(CACHE_NAME);
 
@@ -192,7 +193,7 @@ public class WalCompactionTest extends GridCommonAbstractTest {
      */
     public void testSeekingStartInCompactedSegment() throws Exception {
         IgniteEx ig = (IgniteEx)startGrids(3);
-        ig.active(true);
+        ig.cluster().active(true);
 
         IgniteCache<Integer, byte[]> cache = ig.cache("cache");
 
@@ -281,7 +282,8 @@ public class WalCompactionTest extends GridCommonAbstractTest {
             f.delete();
 
         ig = (IgniteEx)startGrids(3);
-        ig.active(true);
+
+        awaitPartitionMapExchange();
 
         cache = ig.cache(CACHE_NAME);