ignite-4535 : Fixed ignite-indexing.

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

Branch: refs/heads/ignite-3477-master
Commit: be28dbf72c931ed52b04450dcc46141ed9dcb425
Parents: 48a8c40
Author: Ilya Lantukh <[email protected]>
Authored: Mon Apr 3 15:08:39 2017 +0300
Committer: Ilya Lantukh <[email protected]>
Committed: Mon Apr 3 15:08:39 2017 +0300

----------------------------------------------------------------------
 .../processors/cache/GridIndexingWithNoopSwapSelfTest.java         | 2 +-
 .../internal/processors/query/IgniteSqlSegmentedIndexSelfTest.java | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/be28dbf7/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridIndexingWithNoopSwapSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridIndexingWithNoopSwapSelfTest.java
 
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridIndexingWithNoopSwapSelfTest.java
index 8f24670..deeac51 100644
--- 
a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridIndexingWithNoopSwapSelfTest.java
+++ 
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridIndexingWithNoopSwapSelfTest.java
@@ -108,6 +108,6 @@ public class GridIndexingWithNoopSwapSelfTest extends 
GridCommonAbstractTest {
         SqlQuery<Integer, ObjectValue> qry =
             new SqlQuery(ObjectValue.class, "intVal >= ? order by intVal");
 
-        assertEquals(0, cache.query(qry.setArgs(0)).getAll().size());
+        assertEquals(10, cache.query(qry.setArgs(0)).getAll().size());
     }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ignite/blob/be28dbf7/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/IgniteSqlSegmentedIndexSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/IgniteSqlSegmentedIndexSelfTest.java
 
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/IgniteSqlSegmentedIndexSelfTest.java
index 47cd98b..ad3e320 100644
--- 
a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/IgniteSqlSegmentedIndexSelfTest.java
+++ 
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/IgniteSqlSegmentedIndexSelfTest.java
@@ -112,7 +112,6 @@ public class IgniteSqlSegmentedIndexSelfTest extends 
GridCommonAbstractTest {
         startGridsMultiThreaded(1, true);
 
         final IgniteCache<Object, Object> cache = 
ignite(0).createCache(cacheConfig("org", true, Integer.class, 
Organization.class)
-            .setOffHeapMaxMemory(-1)
             .setEvictionPolicy(new FifoEvictionPolicy(10)));
 
         for (int i = 0; i < 20; i++)

Reply via email to