ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [07/50] incubator-ignite git commit: #ignite-565: remove GridCache from tests.
Date Fri, 27 Mar 2015 12:52:18 GMT
#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/43723b6d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/43723b6d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/43723b6d

Branch: refs/heads/sprint-3
Commit: 43723b6dd57770f085cd737c3ff8310f25bfaed5
Parents: cfef594
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Wed Mar 25 14:34:37 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Wed Mar 25 14:34:37 2015 +0300

----------------------------------------------------------------------
 .../internal/processors/cache/GridCacheMemoryModeSelfTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/43723b6d/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMemoryModeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMemoryModeSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMemoryModeSelfTest.java
index 4b67092..9b5c520 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMemoryModeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMemoryModeSelfTest.java
@@ -237,7 +237,7 @@ public class GridCacheMemoryModeSelfTest extends GridCommonAbstractTest
{
 
         x.applyx(c);
 
-        assertEquals(cache, c.size());
+        assertEquals(cache, c.size(CachePeekMode.ONHEAP));
         assertEquals(offheapSwap, c.localSize(CachePeekMode.OFFHEAP) + c.localSize(CachePeekMode.SWAP));
 
         info("size: " + c.size());


Mime
View raw message