ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [40/46] incubator-ignite git commit: # IGNITE-56 Fix GridCacheBasicStoreAbstractTest.testReloadCache test
Date Fri, 06 Feb 2015 16:59:56 GMT
# IGNITE-56 Fix GridCacheBasicStoreAbstractTest.testReloadCache test


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

Branch: refs/heads/ignite-57
Commit: 0194aefb97e9b9e21f964c1f6feae6245d6adba0
Parents: d227081
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Fri Feb 6 17:10:20 2015 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Fri Feb 6 17:10:20 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/GridCacheBasicStoreAbstractTest.java      | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0194aefb/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheBasicStoreAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheBasicStoreAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheBasicStoreAbstractTest.java
index 6549e51..15baaec 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheBasicStoreAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheBasicStoreAbstractTest.java
@@ -382,7 +382,11 @@ public abstract class GridCacheBasicStoreAbstractTest extends GridCommonAbstract
 
         checkLastMethod("loadAllFull");
 
+        Set<Integer> keys = new HashSet<>();
+
         for (int i = 1; i <= 10; i++) {
+            keys.add(i);
+
             cache.put(i, Integer.toString(i));
 
             checkLastMethod("put");
@@ -390,7 +394,7 @@ public abstract class GridCacheBasicStoreAbstractTest extends GridCommonAbstract
 
         assert cache.size() == 10;
 
-        cache.localLoadCache(null);
+        loadAll(cache, keys, true);
 
         checkLastMethod("loadAll");
 


Mime
View raw message