Repository: incubator-ignite Updated Branches: refs/heads/ignite-sql-tests 61eb6811f -> e52bbb2bc
# 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-sql-tests Commit: d82f4cb1eed6edd178ba340f796db0b9372b72df Parents: 89c1e29 Author: sevdokimov <sergey.evdoki...@jetbrains.com> Authored: Sun Feb 8 19:43:40 2015 +0300 Committer: sevdokimov <sergey.evdoki...@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)