Fix test that shown missed partitions during rebalancing - Fixes
@@ -82,8 +82,7 @@ public class GridCachePartitionedSupplyEventsSelfTest extends GridCommonAbstract
lsnrs.put(new IgnitePredicate<CacheRebalancingEvent>() {
@Override public boolean apply(CacheRebalancingEvent evt) {
- //fail("Should not miss any partitions!");
- log.warning("Missed partition " + evt.partition() + " from node " + evt.node().consistentId());
+ fail("Should not miss any partitions!");
assertEquals(DEFAULT_CACHE_NAME, evt.cacheName());
@@ -128,6 +127,8 @@ public class GridCachePartitionedSupplyEventsSelfTest extends GridCommonAbstract
startGrid("g" + n);
+ awaitPartitionMapExchange();
+
int max = 0;
int min = PARTS;
int total = 0;
