ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [11/50] incubator-ignite git commit: #ignite-758: fix IgfsStreamsSelfTest.
Date Mon, 20 Apr 2015 15:14:37 GMT
#ignite-758: fix IgfsStreamsSelfTest.


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

Branch: refs/heads/gg-10115
Commit: 18dc8f76b86a6d8ebbf0aa4b997c1bfb05132366
Parents: aaf8a53
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Fri Apr 17 11:15:04 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Fri Apr 17 11:15:04 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/igfs/IgfsDataManagerSelfTest.java | 4 ++--
 .../ignite/internal/processors/igfs/IgfsStreamsSelfTest.java     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/18dc8f76/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsDataManagerSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsDataManagerSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsDataManagerSelfTest.java
index 15a0cc5..d95c876 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsDataManagerSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsDataManagerSelfTest.java
@@ -189,7 +189,7 @@ public class IgfsDataManagerSelfTest extends IgfsCommonAbstractTest {
 
             for (int j = 0; j < NODES_CNT; j++) {
                 GridCacheContext<Object, Object> ctx = GridTestUtils.getFieldValue(grid(j).cachex(DATA_CACHE_NAME),
-                    "ctx");
+                    GridCacheAdapter.class, "ctx");
                 Collection<IgniteInternalTx> txs = ctx.tm().txs();
 
                 assert txs.isEmpty() : "Incomplete transactions: " + txs;
@@ -357,7 +357,7 @@ public class IgfsDataManagerSelfTest extends IgfsCommonAbstractTest {
 
             for (int j = 0; j < NODES_CNT; j++) {
                 GridCacheContext<Object, Object> ctx = GridTestUtils.getFieldValue(grid(j).cachex(DATA_CACHE_NAME),
-                    "ctx");
+                    GridCacheAdapter.class, "ctx");
                 Collection<IgniteInternalTx> txs = ctx.tm().txs();
 
                 assert txs.isEmpty() : "Incomplete transactions: " + txs;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/18dc8f76/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsStreamsSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsStreamsSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsStreamsSelfTest.java
index 86e4c31..254161a 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsStreamsSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsStreamsSelfTest.java
@@ -153,7 +153,7 @@ public class IgfsStreamsSelfTest extends IgfsCommonAbstractTest {
      * @throws IgniteCheckedException In case of exception.
      */
     public void testConfiguration() throws IgniteCheckedException {
-        GridCacheProxyImpl metaCache = getFieldValue(fs, "meta", "metaCache");
+        GridCacheAdapter metaCache = getFieldValue(fs, "meta", "metaCache");
         GridCacheAdapter dataCache = getFieldValue(fs, "data", "dataCache");
 
         assertNotNull(metaCache);


Mime
View raw message