ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [29/50] [abbrv] incubator-ignite git commit: #IGNITE-53: fix test
Date Mon, 26 Jan 2015 10:02:10 GMT
#IGNITE-53:  fix 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/68d01efc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/68d01efc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/68d01efc

Branch: refs/heads/ignite-86
Commit: 68d01efcfdac7c951074803a2b411ae295e410f0
Parents: c0006f6
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Fri Jan 23 16:06:19 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Fri Jan 23 16:06:19 2015 +0300

----------------------------------------------------------------------
 .../cache/GridCacheAbstractFullApiSelfTest.java           | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/68d01efc/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractFullApiSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractFullApiSelfTest.java
b/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractFullApiSelfTest.java
index 397b259..6450a55 100644
--- a/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractFullApiSelfTest.java
+++ b/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractFullApiSelfTest.java
@@ -5092,14 +5092,10 @@ public abstract class GridCacheAbstractFullApiSelfTest extends GridCacheAbstract
 
         Map<String, Integer> entries = new HashMap<>();
 
-        try (IgniteDataLoader<String, Integer> dataLoader = ignite(0).dataLoader(null))
{
-            dataLoader.isolated(true);
+        for (int i = 0; i < SIZE; ++i) {
+            cache.put(Integer.toString(i), i);
 
-            for (int i = 0; i < SIZE; ++i) {
-                dataLoader.addData(Integer.toString(i), i);
-
-                entries.put(Integer.toString(i), i);
-            }
+            entries.put(Integer.toString(i), i);
         }
 
         checkIteratorHasNext();


Mime
View raw message