ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [14/46] ignite git commit: Fix org.apache.ignite.internal.processors.cache.expiry .IgniteCacheExpiryPolicyAbstractTest#testNearExpiresWithCacheStore
Date Tue, 18 Apr 2017 15:04:13 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/89e9dbe4
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/89e9dbe4
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/89e9dbe4

Branch: refs/heads/ignite-1561-1
Commit: 89e9dbe484312c251f02c9fbe9698c3ac2e03df8
Parents: 4fce280
Author: Alexander Fedotov <alexander.fedotoff@gmail.com>
Authored: Mon Apr 10 16:36:33 2017 +0300
Committer: Alexander Fedotov <alexander.fedotoff@gmail.com>
Committed: Mon Apr 10 16:36:33 2017 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/89e9dbe4/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 3339f65..41c915b 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
@@ -1061,6 +1061,9 @@ public abstract class IgniteCacheExpiryPolicyAbstractTest extends IgniteCacheAbs
      * @throws Exception If failed.
      */
     public void testNearExpiresWithCacheStore() throws Exception {
+        if(cacheMode() != PARTITIONED)
+            return;
+
         factory = CreatedExpiryPolicy.factoryOf(new Duration(TimeUnit.SECONDS, 1));
 
         nearCache = true;


Mime
View raw message