ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [1/2] incubator-ignite git commit: # IGNITE-56 Fix GridCacheNearMultiNodeSelfTest.testPessimisticWriteThrough().
Date Sun, 08 Feb 2015 18:18:23 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/sprint-1 0bbcffdf1 -> 32d4dec8e


# IGNITE-56 Fix GridCacheNearMultiNodeSelfTest.testPessimisticWriteThrough().


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

Branch: refs/heads/sprint-1
Commit: 8992c6cf8b2487755bcb1a956446e24a1fa3abd1
Parents: 0bbcffd
Author: sevdokimov <sergey.evdokimov@jetbrains.com>
Authored: Sun Feb 8 21:08:16 2015 +0300
Committer: sevdokimov <sergey.evdokimov@jetbrains.com>
Committed: Sun Feb 8 21:08:16 2015 +0300

----------------------------------------------------------------------
 .../cache/distributed/near/GridCacheNearMultiNodeSelfTest.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8992c6cf/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiNodeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiNodeSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiNodeSelfTest.java
index cb8992f..e783f3a 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiNodeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiNodeSelfTest.java
@@ -514,11 +514,10 @@ public class GridCacheNearMultiNodeSelfTest extends GridCommonAbstractTest
{
 
                 String s = near.getAndPut(3, "3");
 
-                assertNotNull(s);
                 assertEquals("3", s);
 
                 assertEquals("2", near.localPeek(2, CachePeekMode.ONHEAP));
-                assertEquals("3", near.localPeek(3, CachePeekMode.ONHEAP));
+                assertEquals("3", near.get(3));
 
                 assertNotNull(dht(primaryGrid(3)).peek(3, F.asList(GLOBAL)));
 


Mime
View raw message