ignite-5514 test is slow, break by timeout, unmute test
@@ -211,8 +211,6 @@ public abstract class IgnitePdsCacheRebalancingAbstractTest extends GridCommonAb
* @throws Exception If fails.
*/
public void testRebalancingOnRestartAfterCheckpoint() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-5514");
-
IgniteEx ignite0 = startGrid(0);
IgniteEx ignite1 = startGrid(1);
@@ -242,8 +240,6 @@ public abstract class IgnitePdsCacheRebalancingAbstractTest extends GridCommonAb
ignite2.close();
ignite3.close();
- awaitPartitionMapExchange();
-
ignite0.resetLostPartitions(Collections.singletonList(cache1.getName()));
assert cache1.lostPartitions().isEmpty();
@@ -266,8 +262,6 @@ public abstract class IgnitePdsCacheRebalancingAbstractTest extends GridCommonAb
ignite2.cache(cacheName).rebalance().get();
ignite3.cache(cacheName).rebalance().get();
- awaitPartitionMapExchange();
-
IgniteCache<Integer, Integer> cache2 = ignite2.cache(cacheName);
IgniteCache<Integer, Integer> cache3 = ignite3.cache(cacheName);
@@ -379,7 +373,7 @@ public abstract class IgnitePdsCacheRebalancingAbstractTest extends GridCommonAb
* @throws Exception If failed.
*/
public void testTopologyChangesWithConstantLoad() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-5514");
+ final long timeOut = U.currentTimeMillis() + 10 * 60 * 1000;
final int entriesCnt = 10_000;
int maxNodesCount = 4;
@@ -460,6 +454,9 @@ public abstract class IgnitePdsCacheRebalancingAbstractTest extends GridCommonAb
}, 1, "load-runner");
for (int i = 0; i < topChanges; i++) {
+ if (U.currentTimeMillis() > timeOut)
+ break;
+
U.sleep(3_000);
boolean add;
