# IGNITE-54-55 Fix broken 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/cbf4bfcc Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/cbf4bfcc Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/cbf4bfcc Branch: refs/heads/ignite-164v2 Commit: cbf4bfccfccb54a5433d7ef1a35bee34c9431798 Parents: 0945e36 Author: sevdokimov <[email protected]> Authored: Thu Feb 5 13:02:22 2015 +0300 Committer: sevdokimov <[email protected]> Committed: Thu Feb 5 13:02:22 2015 +0300 ---------------------------------------------------------------------- .../processors/cache/GridCacheAbstractFullApiSelfTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/cbf4bfcc/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java index 0b93da9..f75eec8 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java @@ -2681,7 +2681,7 @@ public abstract class GridCacheAbstractFullApiSelfTest extends GridCacheAbstract cache().put("key2", 2); cache().put("key3", 3); - cache(1).removeAll(); + cache(gridCount() > 1 ? 1 : 0).removeAll(); assert cache().isEmpty(); long entryCount = hugeRemoveAllEntryCount();
