GridCacheBasicStoreAbstractTest: use localPeek instead of localPeek(ONHEAP)
@@ -27,7 +27,6 @@ import org.apache.ignite.IgniteCache;
import org.apache.ignite.IgniteCheckedException;
import org.apache.ignite.cache.CacheAtomicityMode;
import org.apache.ignite.cache.CacheMode;
-import org.apache.ignite.cache.CachePeekMode;
import org.apache.ignite.configuration.CacheConfiguration;
import org.apache.ignite.configuration.IgniteConfiguration;
import org.apache.ignite.internal.util.typedef.P2;
@@ -527,7 +526,7 @@ public abstract class GridCacheBasicStoreAbstractTest extends GridCommonAbstract
load(cache, 1, true);
- String val = cache.localPeek(1, CachePeekMode.ONHEAP);
+ String val = cache.localPeek(1);
assert val != null;
assert "1".equals(val);
@@ -558,7 +557,7 @@ public abstract class GridCacheBasicStoreAbstractTest extends GridCommonAbstract
for (int i = 1; i <= 10; i++) {
load(cache, i, true);
- val = cache.localPeek(i, CachePeekMode.ONHEAP);
+ val = cache.localPeek(i);
checkLastMethod("load");
