ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: Ignite-929
Date Wed, 27 May 2015 17:51:39 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-929 d58f5cd4d -> 19b0c2bed


Ignite-929


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

Branch: refs/heads/ignite-929
Commit: 19b0c2bed2e843b5a84c34fbc79af75615fc75b6
Parents: d58f5cd
Author: avinogradov <avinogradov@gridgain.com>
Authored: Wed May 27 20:51:28 2015 +0300
Committer: avinogradov <avinogradov@gridgain.com>
Committed: Wed May 27 20:51:28 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/CacheStopAndDestroySelfTest.java    | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/19b0c2be/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheStopAndDestroySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheStopAndDestroySelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheStopAndDestroySelfTest.java
index 48769da..4acd9f5 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheStopAndDestroySelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheStopAndDestroySelfTest.java
@@ -321,16 +321,13 @@ public class CacheStopAndDestroySelfTest extends GridCommonAbstractTest
{
         grid(2).getOrCreateCache(cCfgCNear);
         grid(2).createNearCache(CACHE_NAME_CLOSE_NEAR, new NearCacheConfiguration());
 
+        grid(2).cache(CACHE_NAME_CLOSE_NEAR).put(KEY_VAL, KEY_VAL);
         grid(0).cache(CACHE_NAME_CLOSE_NEAR).put(KEY_VAL, KEY_VAL + "recreated");
 
         assert grid(0).cache(CACHE_NAME_CLOSE_NEAR).get(KEY_VAL).equals(KEY_VAL + "recreated");
         assert grid(1).cache(CACHE_NAME_CLOSE_NEAR).get(KEY_VAL).equals(KEY_VAL + "recreated");
         assert grid(2).cache(CACHE_NAME_CLOSE_NEAR).localPeek(KEY_VAL).equals(KEY_VAL + "recreated");
 
-        grid(0).cache(CACHE_NAME_CLOSE_NEAR).put(KEY_VAL, KEY_VAL + "recreated2");
-
-        assert grid(2).cache(CACHE_NAME_CLOSE_NEAR).localPeek(KEY_VAL).equals(KEY_VAL + "recreated2");
-
         //Local close. Same as Local destroy.
 
         grid(1).cache(CACHE_NAME_CLOSE_LOC).close();
@@ -367,4 +364,10 @@ public class CacheStopAndDestroySelfTest extends GridCommonAbstractTest
{
         assert grid(1).cache(CACHE_NAME_CLOSE_LOC).get(KEY_VAL).equals(KEY_VAL + "recreated1");
         assert grid(2).cache(CACHE_NAME_CLOSE_LOC).get(KEY_VAL).equals(KEY_VAL + "recreated2");
     }
+
+    @Override protected void afterTest() throws Exception {
+        super.afterTest();
+
+        stopAllGrids();
+    }
 }


Mime
View raw message