ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [6/7] ignite git commit: ignite-1016 Tests for local cache fixed
Date Tue, 13 Oct 2015 16:41:58 GMT
ignite-1016 Tests for local cache fixed


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

Branch: refs/heads/pull-80-head
Commit: 7a317c7c59884d1437f34d9853310bad1b1f7206
Parents: 8f718a2
Author: agura <agura@gridgain.com>
Authored: Mon Sep 14 18:20:22 2015 +0300
Committer: agura <agura@gridgain.com>
Committed: Mon Sep 14 18:20:22 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/7a317c7c/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java
index 42173e3..f3fbf15 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java
@@ -179,7 +179,9 @@ public abstract class IgniteCacheAbstractQuerySelfTest extends GridCommonAbstrac
                 UUID.class, Person.class,
                 IgniteCacheReplicatedQuerySelfTest.CacheKey.class, IgniteCacheReplicatedQuerySelfTest.CacheValue.class
             );
-            cc.setAffinity(new RendezvousAffinityFunction());
+
+            if (cacheMode() != CacheMode.LOCAL)
+                cc.setAffinity(new RendezvousAffinityFunction());
 
             // Explicitly set number of backups equal to number of grids.
             if (cacheMode() == CacheMode.PARTITIONED)


Mime
View raw message