ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [18/50] [abbrv] ignite git commit: IGNITE-3227 Tests fix
Date Wed, 06 Jul 2016 18:23:17 GMT
IGNITE-3227 Tests fix


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

Branch: refs/heads/ignite-3227
Commit: 922fb3a2274ebfdfbcd3356609b8e157036aaec8
Parents: cb619a3
Author: Alexander Paschenko <alexander.a.paschenko@gmail.com>
Authored: Tue Jul 5 19:36:04 2016 +0300
Committer: Alexander Paschenko <alexander.a.paschenko@gmail.com>
Committed: Tue Jul 5 19:36:04 2016 +0300

----------------------------------------------------------------------
 .../processors/cache/IgniteCachePeekModesAbstractTest.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/922fb3a2/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCachePeekModesAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCachePeekModesAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCachePeekModesAbstractTest.java
index 4d476c3..4dd4987 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCachePeekModesAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCachePeekModesAbstractTest.java
@@ -514,7 +514,7 @@ public abstract class IgniteCachePeekModesAbstractTest extends IgniteCacheAbstra
             for (int i = 0; i < HEAP_ENTRIES; i++) {
                 cache0.put(i, String.valueOf(i));
 
-                final int size = i + 1;
+                final long size = i + 1;
 
                 assertEquals(size, cache0.localSize());
                 assertEquals(size, cache0.localSizeLong(partition, PRIMARY));
@@ -530,7 +530,7 @@ public abstract class IgniteCachePeekModesAbstractTest extends IgniteCacheAbstra
 
                 cacheAsync0.size();
 
-                assertEquals(size, cacheAsync0.future().get());
+                assertEquals(size, (long)cacheAsync0.<Integer>future().get());
 
                 cacheAsync0.sizeLong(partition, PRIMARY);
 
@@ -556,7 +556,7 @@ public abstract class IgniteCachePeekModesAbstractTest extends IgniteCacheAbstra
 
                 cacheAsync0.size();
 
-                assertEquals(size, cacheAsync0.future().get());
+                assertEquals(size, (long)cacheAsync0.<Integer>future().get());
             }
 
             checkEmpty();


Mime
View raw message