ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkuliche...@apache.org
Subject [06/13] incubator-ignite git commit: # IGNITE-56 Bug fix.
Date Sun, 08 Feb 2015 19:14:08 GMT
# IGNITE-56 Bug fix.


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

Branch: refs/heads/ignite-61
Commit: d82f4cb1eed6edd178ba340f796db0b9372b72df
Parents: 89c1e29
Author: sevdokimov <sergey.evdokimov@jetbrains.com>
Authored: Sun Feb 8 19:43:40 2015 +0300
Committer: sevdokimov <sergey.evdokimov@jetbrains.com>
Committed: Sun Feb 8 19:43:40 2015 +0300

----------------------------------------------------------------------
 .../ignite/testframework/junits/common/GridCommonAbstractTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d82f4cb1/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
index b20167b..f31f398 100644
--- a/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
@@ -411,7 +411,7 @@ public abstract class GridCommonAbstractTest extends GridAbstractTest
{
         for (int i = startFrom; i < startFrom + 100_000; i++) {
             Integer key = i;
 
-            if (!aff.isPrimaryOrBackup(locNode, key)) {
+            if (aff.isPrimary(locNode, key)) {
                 found.add(key);
 
                 if (found.size() == cnt)


Mime
View raw message