From 99e4e7f3b53d6631dee0c63219841ab46018877c Mon Sep 17 00:00:00 2001 From: wangbo <506340561@qq.com> Date: Fri, 1 Nov 2024 15:29:54 +0800 Subject: [PATCH] fix --- fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java index 352fd1b3ba4594b..a96ca20d80c157f 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java +++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java @@ -1845,7 +1845,9 @@ protected void startMasterOnlyDaemonThreads() { WorkloadSchedPolicyPublisher wpPublisher = new WorkloadSchedPolicyPublisher(this); topicPublisherThread.addToTopicPublisherList(wpPublisher); topicPublisherThread.start(); - new CreateInternalWorkloadGroupThread().start(); + if (!FeConstants.runningUnitTest) { + new CreateInternalWorkloadGroupThread().start(); + } // auto analyze related threads. statisticsCleaner.start();