This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.2
in repository https://gitbox.apache.org/repos/asf/doris.git
commit 865adb83fee53eb5f1b0097dd3a27843bfbf8b97
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Sep 16 10:59:18 2026 +0800
branch-4.1: [test](statistics) Make analyze MV row count assertion stable
#67947 (#67988)
Cherry-picked from #67947
Co-authored-by: yujun <[email protected]>
---
regression-test/suites/statistics/test_analyze_mv.groovy | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/regression-test/suites/statistics/test_analyze_mv.groovy
b/regression-test/suites/statistics/test_analyze_mv.groovy
index fc4949c5632..85ca87a601d 100644
--- a/regression-test/suites/statistics/test_analyze_mv.groovy
+++ b/regression-test/suites/statistics/test_analyze_mv.groovy
@@ -686,15 +686,15 @@ suite("test_analyze_mv") {
sql """insert into mvTestDup values (1, 2, 3, 4, 5), (1, 2, 3, 4, 5), (10,
20, 30, 40, 50), (10, 20, 30, 40, 50), (100, 200, 300, 400, 500), (1001, 2001,
3001, 4001, 5001);"""
connect(context.config.jdbcUser, context.config.jdbcPassword, url) {
sql """use test_analyze_mv"""
- for (int i = 0; i < 10; i++) {
+ for (int i = 0; i < 120; i++) {
result_row = sql """show index stats mvTestDup mvTestDup"""
- if (result_row[0][4] == "-1") {
+ if (result_row[0][4] == "6") {
break;
}
- logger.info("row count for mvTestDup is not -1: " + result_row)
- Thread.sleep(1000)
+ logger.info("row count for mvTestDup has not converged to 6: " +
result_row)
+ Thread.sleep(5000)
}
- assertEquals("-1", result_row[0][4])
+ assertEquals("6", result_row[0][4])
}
// Test alter column stats
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]