ignite-1.5 Fixed test for offheap mode.

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

Branch: refs/heads/ignite-1537
Commit: 345fc27d90f8ae28697fc021d55c7b7a015faeee
Parents: 4291edc
Author: sboikov <sboi...@gridgain.com>
Authored: Mon Dec 14 12:18:16 2015 +0300
Committer: sboikov <sboi...@gridgain.com>
Committed: Mon Dec 14 12:18:16 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/345fc27d/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java
index cbb19fb..b984afa 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java
@@ -3233,7 +3233,7 @@ public abstract class GridCacheAbstractFullApiSelfTest 
extends GridCacheAbstract
 
         boolean wait = waitForCondition(new GridAbsPredicate() {
             @Override public boolean apply() {
-                return cache.localPeek(key, ONHEAP) == null;
+                return cache.localPeek(key) == null;
             }
         }, ttl + 1000);
 
@@ -3814,12 +3814,12 @@ public abstract class GridCacheAbstractFullApiSelfTest 
extends GridCacheAbstract
 
         waitForCondition(new GridAbsPredicate() {
             @Override public boolean apply() {
-                return cache.localPeek(key, ONHEAP) == null;
+                return cache.localPeek(key) == null;
             }
         }, ttl + 1000);
 
         // Peek will actually remove entry from cache.
-        assertNull(cache.localPeek(key, ONHEAP));
+        assertNull(cache.localPeek(key));
 
         assert cache.localSize() == 0;
 

Reply via email to