You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2017/08/16 15:41:40 UTC

[17/25] ignite git commit: IGNITE-6063 InlineIdexHelperTest fails - Fixes #2444.

IGNITE-6063 InlineIdexHelperTest fails - Fixes #2444.

Signed-off-by: Alexey Goncharuk <al...@gmail.com>


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

Branch: refs/heads/ignite-5901
Commit: 09d255e55e47bee3b1c2c5565e3c0009a6989e25
Parents: 62cbc29
Author: Igor Seliverstov <gv...@gmail.com>
Authored: Tue Aug 15 14:46:32 2017 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Tue Aug 15 14:46:32 2017 +0300

----------------------------------------------------------------------
 .../processors/query/h2/database/InlineIndexHelperTest.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/09d255e5/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/database/InlineIndexHelperTest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/database/InlineIndexHelperTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/database/InlineIndexHelperTest.java
index fc06502..6828218 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/database/InlineIndexHelperTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/database/InlineIndexHelperTest.java
@@ -495,7 +495,7 @@ public class InlineIndexHelperTest extends GridCommonAbstractTest {
         Value v1 = s1 == null ? ValueNull.INSTANCE : ValueString.get(s1);
         Value v2 = s2 == null ? ValueNull.INSTANCE : ValueString.get(s2);
 
-        int c = v1.compareTypeSafe(v2, CompareMode.getInstance(CompareMode.DEFAULT, 0));
+        int c = v1.compareTypeSafe(v2, CompareMode.getInstance(null, 0));
 
         return ha.canRelyOnCompare(c, v1, v2);
     }
@@ -505,7 +505,7 @@ public class InlineIndexHelperTest extends GridCommonAbstractTest {
         Value v1 = b1 == null ? ValueNull.INSTANCE : ValueBytes.get(b1);
         Value v2 = b2 == null ? ValueNull.INSTANCE : ValueBytes.get(b2);
 
-        int c = v1.compareTypeSafe(v2, CompareMode.getInstance(CompareMode.DEFAULT, 0));
+        int c = v1.compareTypeSafe(v2, CompareMode.getInstance(null, 0));
 
         return ha.canRelyOnCompare(c, v1, v2);
     }