ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [15/29] incubator-ignite git commit: # ignite-709_3
Date Mon, 18 May 2015 09:31:24 GMT
# ignite-709_3


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

Branch: refs/heads/ignite-709_2
Commit: 06462598ca5eeda3ea91e5ce841d3087daff3cbb
Parents: 4937822
Author: sboikov <sboikov@gridgain.com>
Authored: Fri May 15 16:12:00 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Fri May 15 16:12:00 2015 +0300

----------------------------------------------------------------------
 ...cheNearOnlyLruNearEvictionPolicySelfTest.java | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/06462598/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/lru/GridCacheNearOnlyLruNearEvictionPolicySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/lru/GridCacheNearOnlyLruNearEvictionPolicySelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/lru/GridCacheNearOnlyLruNearEvictionPolicySelfTest.java
index 5d4ff85..c401180 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/lru/GridCacheNearOnlyLruNearEvictionPolicySelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/lru/GridCacheNearOnlyLruNearEvictionPolicySelfTest.java
@@ -66,17 +66,18 @@ public class GridCacheNearOnlyLruNearEvictionPolicySelfTest extends GridCommonAb
 
         if (cnt == 0)
             c.setClientMode(true);
+        else {
+            CacheConfiguration cc = new CacheConfiguration();
 
-        CacheConfiguration cc = new CacheConfiguration();
+            cc.setAtomicityMode(atomicityMode);
+            cc.setCacheMode(cacheMode);
+            cc.setWriteSynchronizationMode(PRIMARY_SYNC);
+            cc.setRebalanceMode(SYNC);
+            cc.setStartSize(100);
+            cc.setBackups(0);
 
-        cc.setAtomicityMode(atomicityMode);
-        cc.setCacheMode(cacheMode);
-        cc.setWriteSynchronizationMode(PRIMARY_SYNC);
-        cc.setRebalanceMode(SYNC);
-        cc.setStartSize(100);
-        cc.setBackups(0);
-
-        c.setCacheConfiguration(cc);
+            c.setCacheConfiguration(cc);
+        }
 
         TcpDiscoverySpi disco = new TcpDiscoverySpi();
 


Mime
View raw message