# IGNITE-54-55 Improve test, make it able to detect bug in GridNearCache.

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

Branch: refs/heads/ignite-57
Commit: e601a6d7ad64e5c5ba55164384a7f7edb1fd246b
Parents: 1ecb025
Author: sevdokimov <[email protected]>
Authored: Wed Feb 4 13:01:12 2015 +0300
Committer: sevdokimov <[email protected]>
Committed: Wed Feb 4 13:01:12 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/e601a6d7/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 ce45967..0b93da9 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().removeAll();
+        cache(1).removeAll();
 
         assert cache().isEmpty();
         long entryCount = hugeRemoveAllEntryCount();

Reply via email to