ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [1/3] ignite git commit: 1093
Date Thu, 17 Sep 2015 14:08:05 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1093-2 9d17e472e -> 7e42853d1


1093


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

Branch: refs/heads/ignite-1093-2
Commit: 5a65267bbdb7abc5ae4330db039e4d300313bdbe
Parents: 9d17e47
Author: Anton Vinogradov <av@apache.org>
Authored: Thu Sep 17 11:35:15 2015 +0300
Committer: Anton Vinogradov <av@apache.org>
Committed: Thu Sep 17 11:35:15 2015 +0300

----------------------------------------------------------------------
 .../GridCacheRebalancingSyncSelfTest.java           | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/5a65267b/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 db0c8ba..8aa6d40 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
@@ -184,12 +184,24 @@ public class GridCacheRebalancingSyncSelfTest extends GridCommonAbstractTest
{
 
         startGrid(1);
 
+        waitForRebalancing(0, 2);
         waitForRebalancing(1, 2);
 
-        long spend = (System.currentTimeMillis() - start) / 1000;
-
         stopGrid(0);
 
+        waitForRebalancing(1, 3);
+
+        startGrid(2);
+
+        waitForRebalancing(1, 4);
+        waitForRebalancing(2, 4);
+
+        stopGrid(2);
+
+        waitForRebalancing(1, 5);
+
+        long spend = (System.currentTimeMillis() - start) / 1000;
+
         checkData(grid(1));
 
         log.info("Spend " + spend + " seconds to rebalance entries.");


Mime
View raw message