Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
Signed-off-by: Seaven <[email protected]>
  • Loading branch information
Seaven committed Nov 21, 2024
1 parent ee07ff6 commit 91b143f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import com.starrocks.sql.common.QueryDebugOptions;
import com.starrocks.sql.optimizer.LogicalPlanPrinter;
import com.starrocks.sql.parser.SqlParser;
import com.starrocks.statistic.StatisticsMetaManager;
import com.starrocks.thrift.TExplainLevel;
import com.starrocks.utframe.StarRocksAssert;
import com.starrocks.utframe.UtFrameUtils;
Expand Down Expand Up @@ -84,6 +85,8 @@ public static void beforeClass() throws Exception {
Config.tablet_sched_max_scheduling_tablets = -1;
Config.alter_scheduler_interval_millisecond = 1;
UtFrameUtils.createMinStarRocksCluster();
StatisticsMetaManager manager = new StatisticsMetaManager();
manager.createStatisticsTablesForTest();
// create connect context
connectContext = UtFrameUtils.createDefaultCtx();
starRocksAssert = new StarRocksAssert(connectContext);
Expand Down

0 comments on commit 91b143f

Please sign in to comment.