This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 399960b0ea3 branch-4.0: [fix](ut) fix MVStatisticsTest #61035 (#61052)
399960b0ea3 is described below
commit 399960b0ea3de5b0913eb3aa80e5536a1658881d
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Mar 5 14:59:04 2026 +0800
branch-4.0: [fix](ut) fix MVStatisticsTest #61035 (#61052)
Cherry-picked from #61035
Co-authored-by: yujun <[email protected]>
---
.../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]