This is an automated email from the ASF dual-hosted git repository.
starocean999 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new da3019c8719 [fix](ut) fix MVStatisticsTest (#61035)
da3019c8719 is described below
commit da3019c87195ef22d4226859bba6934bde40a303
Author: yujun <[email protected]>
AuthorDate: Thu Mar 5 10:23:04 2026 +0800
[fix](ut) fix MVStatisticsTest (#61035)
---
.../src/test/java/org/apache/doris/statistics/MVStatisticsTest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/fe/fe-core/src/test/java/org/apache/doris/statistics/MVStatisticsTest.java
b/fe/fe-core/src/test/java/org/apache/doris/statistics/MVStatisticsTest.java
index d30df09e0d8..4dda12f0be2 100644
--- a/fe/fe-core/src/test/java/org/apache/doris/statistics/MVStatisticsTest.java
+++ b/fe/fe-core/src/test/java/org/apache/doris/statistics/MVStatisticsTest.java
@@ -18,6 +18,7 @@
package org.apache.doris.statistics;
import org.apache.doris.catalog.Env;
+import org.apache.doris.common.FeConstants;
import org.apache.doris.common.jmockit.Deencapsulation;
import org.apache.doris.statistics.util.StatisticsUtil;
import org.apache.doris.utframe.TestWithFeService;
@@ -35,6 +36,7 @@ public class MVStatisticsTest extends TestWithFeService {
@Override
protected void runBeforeAll() throws Exception {
+ FeConstants.runningUnitTest = true;
createDatabase("test");
connectContext.setDatabase("test");
createTable("CREATE TABLE t1 (col1 int not null, col2 int not null,
col3 int not null)\n"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]