ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [05/34] incubator-ignite git commit: Ignite-54-55 removeAll() after clear (local) fix inside tests
Date Thu, 05 Feb 2015 13:54:01 GMT
Ignite-54-55 removeAll() after clear (local) fix inside tests


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

Branch: refs/heads/sprint-1
Commit: 0ba574c14f5f3c745cb90975a09bc0b01eebceb3
Parents: 5a6eb78
Author: Anton Vinogradov <avinogradov@gridgain.com>
Authored: Sun Jan 25 19:13:34 2015 +0300
Committer: Anton Vinogradov <avinogradov@gridgain.com>
Committed: Sun Jan 25 19:13:34 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/GridCacheAbstractFullApiSelfTest.java     | 6 ++----
 .../near/GridCacheNearPartitionedClearSelfTest.java            | 4 ++--
 2 files changed, 4 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0ba574c1/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 d3a0582..ab2b593 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
@@ -3056,8 +3056,7 @@ public abstract class GridCacheAbstractFullApiSelfTest extends GridCacheAbstract
         for (Integer k : keys)
             cache.put(k, k);
 
-        cache.clearLocally(keys.get(0));
-        cache.clearLocally(keys.get(1));
+        cache.clear();
 
         for (int g = 0; g < gridCount(); g++) {
             Ignite grid0 = grid(g);
@@ -3103,8 +3102,7 @@ public abstract class GridCacheAbstractFullApiSelfTest extends GridCacheAbstract
         for (Integer k : keys)
             cache.put(k, k + 1);
 
-        cache.clearLocally(keys.get(0));
-        cache.clearLocally(keys.get(1));
+        cache.clear();
 
         for (int g = 0; g < gridCount(); g++) {
             Ignite grid0 = grid(g);

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0ba574c1/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearPartitionedClearSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearPartitionedClearSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearPartitionedClearSelfTest.java
index 795fee2..59412e2 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearPartitionedClearSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearPartitionedClearSelfTest.java
@@ -109,7 +109,7 @@ public class GridCacheNearPartitionedClearSelfTest extends GridCommonAbstractTes
         int key = primaryKey0(grid(0), cache);
 
         cache.putx(key, 1);
-        cache.clearLocally(key);
+        cache.clear();
 
         for (int i = 0; i < GRID_CNT; i++) {
             GridCache cache0 = cacheForIndex(i);
@@ -120,7 +120,7 @@ public class GridCacheNearPartitionedClearSelfTest extends GridCommonAbstractTes
         }
 
         cache.putx(key, 1);
-        cache.clearLocally(key);
+        cache.clear();
 
         assertEquals(0, cache.size());
     }


Mime
View raw message