This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push: new 3128c7c [fix](ut) fix testPartitionRebalancer ut (#7468) 3128c7c is described below commit 3128c7cd37599a5dbaa3f6c6f588c195a78fe86a Author: Mingyu Chen <morningman....@gmail.com> AuthorDate: Thu Dec 23 23:29:07 2021 +0800 [fix](ut) fix testPartitionRebalancer ut (#7468) --- fe/fe-core/src/test/java/org/apache/doris/clone/RebalanceTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fe/fe-core/src/test/java/org/apache/doris/clone/RebalanceTest.java b/fe/fe-core/src/test/java/org/apache/doris/clone/RebalanceTest.java index 76cd005..86b4c51 100644 --- a/fe/fe-core/src/test/java/org/apache/doris/clone/RebalanceTest.java +++ b/fe/fe-core/src/test/java/org/apache/doris/clone/RebalanceTest.java @@ -31,7 +31,6 @@ import org.apache.doris.catalog.Replica; import org.apache.doris.catalog.ReplicaAllocation; import org.apache.doris.catalog.Tablet; import org.apache.doris.catalog.TabletInvertedIndex; -import org.apache.doris.common.AnalysisException; import org.apache.doris.common.Config; import org.apache.doris.common.FeConstants; import org.apache.doris.common.Pair; @@ -189,6 +188,9 @@ public class RebalanceTest { // Disable scheduler's rebalancer adding balance task, add balance tasks manually Config.disable_balance = true; + // generate statistic map again to create skewmap + Config.tablet_rebalancer_type = "partition"; + generateStatisticMap(); // Create a new scheduler & checker for redundant tablets handling // Call runAfterCatalogReady manually instead of starting daemon thread TabletSchedulerStat stat = new TabletSchedulerStat(); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org