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: #ignite-565: remove GridCache from tests.
Date Wed, 25 Mar 2015 11:38:13 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-565 43723b6dd -> e12a4e2c0


#ignite-565: remove GridCache from tests.


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

Branch: refs/heads/ignite-565
Commit: e12a4e2c009e2eb85b4ae5a2968f4ea00ab2151e
Parents: 43723b6
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Wed Mar 25 14:38:05 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Wed Mar 25 14:38:05 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e12a4e2c/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheExAbstractFullApiSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheExAbstractFullApiSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheExAbstractFullApiSelfTest.java
index e49dc0e..ce412cd 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheExAbstractFullApiSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheExAbstractFullApiSelfTest.java
@@ -18,9 +18,9 @@
 package org.apache.ignite.internal.processors.cache;
 
 import org.apache.ignite.*;
-import org.apache.ignite.cache.*;
 import org.apache.ignite.configuration.*;
 import org.apache.ignite.events.*;
+import org.apache.ignite.internal.*;
 import org.apache.ignite.internal.util.typedef.*;
 import org.apache.ignite.lang.*;
 import org.apache.ignite.testframework.*;
@@ -63,7 +63,7 @@ public abstract class GridCacheExAbstractFullApiSelfTest extends GridCacheAbstra
         try {
             grid(0).events().localListen(lsnr, EVT_CACHE_OBJECT_LOCKED, EVT_CACHE_OBJECT_UNLOCKED);
 
-            IgniteCache<String, Integer> cache = jcache();
+            GridCacheAdapter<String, Integer> cache = ((IgniteKernal)grid(0)).internalCache();
 
             try (Transaction tx = transactions().txStart(PESSIMISTIC, REPEATABLE_READ)) {
                 int key = 0;
@@ -86,7 +86,7 @@ public abstract class GridCacheExAbstractFullApiSelfTest extends GridCacheAbstra
                     }
                 }
 
-                ((GridCacheProjectionEx<String, Integer>)cache).getAllOutTx(F.asList("key"
+ key));
+                cache.getAllOutTx(F.asList("key" + key));
             }
 
             assertTrue(GridTestUtils.waitForCondition(new PA() {


Mime
View raw message