ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [4/5] ignite git commit: ignite-gg-8.0.2.ea2 localPeek
Date Wed, 18 Jan 2017 18:14:00 GMT
ignite-gg-8.0.2.ea2 localPeek

(cherry picked from commit 5b010c2)


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

Branch: refs/heads/ignite-3477
Commit: 8764930adb0cfa451db8f2beffa7d0467670bd6f
Parents: ea84815
Author: Dmitriy Govorukhin <dgovorukhin@gridgain.com>
Authored: Wed Jan 18 20:58:44 2017 +0300
Committer: Dmitriy Govorukhin <dgovorukhin@gridgain.com>
Committed: Wed Jan 18 21:12:00 2017 +0300

----------------------------------------------------------------------
 .../distributed/dht/GridCacheDhtPreloadDisabledSelfTest.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/8764930a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtPreloadDisabledSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtPreloadDisabledSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtPreloadDisabledSelfTest.java
index 52f31d5..61c7d37 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtPreloadDisabledSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtPreloadDisabledSelfTest.java
@@ -188,7 +188,7 @@ public class GridCacheDhtPreloadDisabledSelfTest extends GridCommonAbstractTest
                 assertNull(near(cache1).peekEx(i));
                 assertNotNull((dht(cache1).peekEx(i)));
 
-                assertEquals(Integer.toString(i), cache1.localPeek(i, CachePeekMode.ONHEAP));
+                assertEquals(Integer.toString(i), cache1.localPeek(i));
             }
 
             int nodeCnt = 3;
@@ -202,7 +202,7 @@ public class GridCacheDhtPreloadDisabledSelfTest extends GridCommonAbstractTest
                 IgniteCache<Integer, String> c = g.cache(null);
 
                 for (int i = 0; i < keyCnt; i++)
-                    assertNull(c.localPeek(i, CachePeekMode.ONHEAP));
+                    assertNull(c.localPeek(i));
             }
 
             Collection<Integer> keys = new LinkedList<>();
@@ -226,12 +226,12 @@ public class GridCacheDhtPreloadDisabledSelfTest extends GridCommonAbstractTest
                     IgniteCache<Integer, String> c = gg.cache(null);
 
                     for (int i = 0; i < keyCnt; i++)
-                        assertNull(c.localPeek(i, CachePeekMode.ONHEAP));
+                        assertNull(c.localPeek(i));
                 }
             }
 
             for (Integer i : keys)
-                assertEquals(i.toString(), cache1.localPeek(i, CachePeekMode.ONHEAP));
+                assertEquals(i.toString(), cache1.localPeek(i));
         }
         catch (Error | Exception e) {
             error("Test failed.", e);


Mime
View raw message