ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [34/49] ignite git commit: Fixed corrupted change after cherry pick.
Date Fri, 02 Jun 2017 17:13:47 GMT
Fixed corrupted change after cherry pick.


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

Branch: refs/heads/ignite-5398
Commit: 9df7c6455a64597df916a26adad2db921fa815ab
Parents: 2256fe1
Author: vd-pyatkov <vpyatkov@gridgain.com>
Authored: Thu May 25 16:19:07 2017 +0300
Committer: vd-pyatkov <vpyatkov@gridgain.com>
Committed: Thu May 25 16:19:07 2017 +0300

----------------------------------------------------------------------
 .../cache/AtomicCacheAffinityConfigurationTest.java         | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/9df7c645/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/AtomicCacheAffinityConfigurationTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/AtomicCacheAffinityConfigurationTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/AtomicCacheAffinityConfigurationTest.java
index 7b7d9b5..6659270 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/AtomicCacheAffinityConfigurationTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/AtomicCacheAffinityConfigurationTest.java
@@ -35,10 +35,13 @@ public class AtomicCacheAffinityConfigurationTest extends GridCommonAbstractTest
 
     /** {@inheritDoc} */
     @Override protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws
Exception {
+        AtomicConfiguration aCcfg = new AtomicConfiguration();
+
+        aCcfg.setCacheMode(CacheMode.PARTITIONED);
+        aCcfg.setAffinity(affinityFunction);
+
         return super.getConfiguration(igniteInstanceName)
-            .setAtomicConfiguration(new AtomicConfiguration()
-            .setCacheMode(CacheMode.PARTITIONED)
-            .setAffinity(affinityFunction));
+            .setAtomicConfiguration(aCcfg);
     }
 
     /**


Mime
View raw message