ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntikho...@apache.org
Subject [16/19] ignite git commit: Fix org.apache.ignite.internal.processors.cache.expiry .IgniteCacheExpiryPolicyAbstractTest#testNearExpiresWithCacheStore
Date Tue, 18 Apr 2017 10:01:05 GMT
Fix org.apache.ignite.internal.processors.cache.expiry
    .IgniteCacheExpiryPolicyAbstractTest#testNearExpiresWithCacheStore


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

Branch: refs/heads/master
Commit: 20016a20f780eb3c21f249d3cb74d08018c4eea5
Parents: 02b1942
Author: Alexander Fedotov <alexander.fedotoff@gmail.com>
Authored: Tue Apr 11 14:54:06 2017 +0300
Committer: Alexander Fedotov <alexander.fedotoff@gmail.com>
Committed: Tue Apr 11 14:54:06 2017 +0300

----------------------------------------------------------------------
 .../cache/expiry/IgniteCacheExpiryPolicyAbstractTest.java        | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/20016a20/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/expiry/IgniteCacheExpiryPolicyAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/expiry/IgniteCacheExpiryPolicyAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/expiry/IgniteCacheExpiryPolicyAbstractTest.java
index 41c915b..e6737e4 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/expiry/IgniteCacheExpiryPolicyAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/expiry/IgniteCacheExpiryPolicyAbstractTest.java
@@ -1087,9 +1087,11 @@ public abstract class IgniteCacheExpiryPolicyAbstractTest extends IgniteCacheAbs
 
         cache.put(key, 1);
 
-        assertEquals(1, cache.localPeek(key, CachePeekMode.NEAR));
+        // Make entry cached in client NearCache.
         assertEquals(1, cache.get(key));
 
+        assertEquals(1, cache.localPeek(key, CachePeekMode.NEAR));
+
         waitExpired(key);
 
         for(int i = 0; i < gridCount(); i++)


Mime
View raw message