ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: #ignite-237: Use CacheConsistentHashAffinityFunction in client test.
Date Tue, 24 Feb 2015 11:46:47 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-237 4d9ad56bb -> 17344b9b6


#ignite-237: Use CacheConsistentHashAffinityFunction in client test.


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

Branch: refs/heads/ignite-237
Commit: 17344b9b66d1349df52a077c4430ac59a653a640
Parents: 4d9ad56
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Tue Feb 24 14:46:43 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Tue Feb 24 14:46:43 2015 +0300

----------------------------------------------------------------------
 .../client/integration/ClientAbstractMultiNodeSelfTest.java       | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/17344b9b/modules/clients/src/test/java/org/apache/ignite/internal/client/integration/ClientAbstractMultiNodeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/clients/src/test/java/org/apache/ignite/internal/client/integration/ClientAbstractMultiNodeSelfTest.java
b/modules/clients/src/test/java/org/apache/ignite/internal/client/integration/ClientAbstractMultiNodeSelfTest.java
index 99453f5..3da6080 100644
--- a/modules/clients/src/test/java/org/apache/ignite/internal/client/integration/ClientAbstractMultiNodeSelfTest.java
+++ b/modules/clients/src/test/java/org/apache/ignite/internal/client/integration/ClientAbstractMultiNodeSelfTest.java
@@ -19,6 +19,7 @@ package org.apache.ignite.internal.client.integration;
 
 import org.apache.ignite.*;
 import org.apache.ignite.cache.*;
+import org.apache.ignite.cache.affinity.consistenthash.*;
 import org.apache.ignite.cluster.*;
 import org.apache.ignite.compute.*;
 import org.apache.ignite.configuration.*;
@@ -195,6 +196,8 @@ public abstract class ClientAbstractMultiNodeSelfTest extends GridCommonAbstract
 
         cfg.setWriteSynchronizationMode(REPLICATED_ASYNC_CACHE_NAME.equals(cacheName) ? FULL_ASYNC
: FULL_SYNC);
 
+        cfg.setAffinity(new CacheConsistentHashAffinityFunction());
+
         return cfg;
     }
 


Mime
View raw message