ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: # sprint-2 Do not use GridCache in GridCacheAbstractJobExecutionTest.
Date Mon, 16 Mar 2015 09:15:45 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/sprint-2 57119b058 -> cbdebf174


# sprint-2 Do not use GridCache in GridCacheAbstractJobExecutionTest.


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

Branch: refs/heads/sprint-2
Commit: cbdebf17454f7f66ac553d599ef0733d8bee0a4d
Parents: 57119b0
Author: sboikov <sboikov@gridgain.com>
Authored: Mon Mar 16 12:15:36 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Mon Mar 16 12:15:36 2015 +0300

----------------------------------------------------------------------
 .../distributed/GridCacheAbstractJobExecutionTest.java      | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/cbdebf17/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheAbstractJobExecutionTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheAbstractJobExecutionTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheAbstractJobExecutionTest.java
index d3e5480..45f92ca 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheAbstractJobExecutionTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheAbstractJobExecutionTest.java
@@ -83,9 +83,9 @@ public abstract class GridCacheAbstractJobExecutionTest extends GridCommonAbstra
         for (int i = 0; i < GRID_CNT; i++) {
             Ignite g = grid(i);
 
-            GridCache<String, int[]> c = ((IgniteKernal)g).cache(null);
+            IgniteCache<String, int[]> c = g.jcache(null);
 
-            assertEquals("Cache is not empty: " + c.entrySet(), 0, c.size());
+            assertEquals("Cache is not empty, node: " + g.name(), 0, c.size());
         }
     }
 
@@ -165,10 +165,7 @@ public abstract class GridCacheAbstractJobExecutionTest extends GridCommonAbstra
             for (int g = 0; g < GRID_CNT; g++) {
                 info("Will check grid: " + g);
 
-                GridCacheEntryEx testEntry =
-                    ((IgniteKernal)grid(i)).internalCache(null).peekEx("TestKey");
-
-                info("Entry: " + testEntry);
+                info("Value: " + grid(i).jcache(null).localPeek("TestKey"));
             }
 
             IgniteCache<String, int[]> c = grid(i).jcache(null);


Mime
View raw message