ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [2/2] incubator-ignite git commit: #ignite-286: wip.
Date Tue, 28 Apr 2015 13:20:24 GMT
#ignite-286: wip.


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

Branch: refs/heads/ignite-286
Commit: ba3a79f79a77818b319eb64c9bead8049e84702f
Parents: 4e55edb
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Tue Apr 28 16:10:26 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Tue Apr 28 16:10:26 2015 +0300

----------------------------------------------------------------------
 ...CachePartitionedOffHeapTieredMultiNodeFullApiSelfTest.java | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ba3a79f7/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCachePartitionedOffHeapTieredMultiNodeFullApiSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCachePartitionedOffHeapTieredMultiNodeFullApiSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCachePartitionedOffHeapTieredMultiNodeFullApiSelfTest.java
index 01e60fd..d6b938a 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCachePartitionedOffHeapTieredMultiNodeFullApiSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCachePartitionedOffHeapTieredMultiNodeFullApiSelfTest.java
@@ -39,9 +39,8 @@ public class GridCachePartitionedOffHeapTieredMultiNodeFullApiSelfTest extends
G
     /**
     * @throws Exception If failed.
     */
-    public void testPutRemoveWithSkipStore() throws Exception {
+    public void testPutRemove() throws Exception {
         IgniteCache<String, Integer> cache = grid(0).cache(null);
-        IgniteCache<String, Integer> cacheSkipStore = cache.withSkipStore();
 
         String key = "key_" + 4;
 
@@ -52,16 +51,14 @@ public class GridCachePartitionedOffHeapTieredMultiNodeFullApiSelfTest
extends G
         assertFalse(grid(0).affinity(null).isPrimary(grid(0).localNode(), key));
         assertFalse(grid(0).affinity(null).isBackup(grid(0).localNode(), key));
 
-        assertNull(cacheSkipStore.get(key));
         assertEquals(4, cache.get(key).intValue());
         assertNull(primaryCache.localPeek(key, CachePeekMode.ONHEAP));
         assertEquals(4, primaryCache.localPeek(key, CachePeekMode.OFFHEAP).intValue());
 
-        cacheSkipStore.put(key, 5);
+        cache.put(key, 5);
 
         assertEquals(5, primaryCache.localPeek(key, CachePeekMode.ONHEAP).intValue());
         assertEquals(5, primaryCache.localPeek(key, CachePeekMode.OFFHEAP).intValue());
-        assertEquals(5, cacheSkipStore.get(key).intValue());
         assertEquals(5, cache.get(key).intValue());
         assertEquals(4, map.get(key));
 


Mime
View raw message