ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [5/9] incubator-ignite git commit: # sprint-2 minor
Date Tue, 17 Feb 2015 10:15:45 GMT
# sprint-2 minor


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

Branch: refs/heads/ignite-275
Commit: 684ed836aa13386cc5dae364b18890562e727ba7
Parents: 2f7d2ad
Author: sboikov <sboikov@gridgain.com>
Authored: Tue Feb 17 11:27:29 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Tue Feb 17 11:27:29 2015 +0300

----------------------------------------------------------------------
 .../testframework/junits/common/GridCommonAbstractTest.java       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/684ed836/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
index 58da239..4e03324 100644
--- a/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
@@ -105,10 +105,11 @@ public abstract class GridCommonAbstractTest extends GridAbstractTest
{
 
     /**
      * @param idx Grid index.
+     * @param cacheName Cache name.
      * @return Cache.
      */
     protected <K, V> GridCache<K, V> internalCache(int idx, String cacheName)
{
-        return ((IgniteKernal)grid(idx)).cache(null);
+        return ((IgniteKernal)grid(idx)).cache(cacheName);
     }
 
     /**


Mime
View raw message