ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [08/10] ignite git commit: 1093
Date Thu, 15 Oct 2015 13:52:14 GMT
1093


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

Branch: refs/heads/ignite-1093-2
Commit: fbc26f702ae203969eacf52655982cfc6ef78e40
Parents: 9aa6130
Author: Anton Vinogradov <av@apache.org>
Authored: Thu Oct 15 15:48:05 2015 +0300
Committer: Anton Vinogradov <av@apache.org>
Committed: Thu Oct 15 15:48:05 2015 +0300

----------------------------------------------------------------------
 .../rebalancing/GridCacheRebalancingSyncSelfTest.java | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/fbc26f70/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingSyncSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingSyncSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingSyncSelfTest.java
index 2b75adf..5acc797 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingSyncSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingSyncSelfTest.java
@@ -205,8 +205,6 @@ public class GridCacheRebalancingSyncSelfTest extends GridCommonAbstractTest
{
         checkData(grid(1), 0, 0);
 
         log.info("Spend " + spend + " seconds to rebalance entries.");
-
-        stopAllGrids();
     }
 
     /**
@@ -265,8 +263,6 @@ public class GridCacheRebalancingSyncSelfTest extends GridCommonAbstractTest
{
         long spend = (System.currentTimeMillis() - start) / 1000;
 
         log.info("Spend " + spend + " seconds to rebalance entries.");
-
-        stopAllGrids();
     }
 
     /**
@@ -321,6 +317,8 @@ public class GridCacheRebalancingSyncSelfTest extends GridCommonAbstractTest
{
 //    public void test() throws Exception {
 //        while (true) {
 //            testComplexRebalancing();
+
+//            stopAllGrids();
 //
 //            U.sleep(5000);
 //
@@ -464,8 +462,6 @@ public class GridCacheRebalancingSyncSelfTest extends GridCommonAbstractTest
{
         checkData(grid(4), 0, 2);
 
         log.info("Spend " + spend + " seconds to rebalance entries.");
-
-        stopAllGrids();
     }
 
     /**
@@ -489,8 +485,6 @@ public class GridCacheRebalancingSyncSelfTest extends GridCommonAbstractTest
{
         stopGrid(0);
 
         checkData(grid(1), 0, 0);
-
-        stopAllGrids();
     }
 
     /**
@@ -515,6 +509,10 @@ public class GridCacheRebalancingSyncSelfTest extends GridCommonAbstractTest
{
 
         waitForRebalancing(0, 4);
         waitForRebalancing(1, 4);
+    }
+
+    @Override protected void afterTest() throws Exception {
+        super.afterTest();
 
         stopAllGrids();
     }


Mime
View raw message