This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 90cbd2cebfe branch-3.0: [chore](case) fix some cases #54885 (#54902)
90cbd2cebfe is described below
commit 90cbd2cebfefb852cd04b972f3dd740867b1303f
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Aug 18 09:25:04 2025 +0800
branch-3.0: [chore](case) fix some cases #54885 (#54902)
Cherry-picked from #54885
Co-authored-by: Yongqiang YANG <[email protected]>
---
regression-test/suites/alter_p2/test_alter_colocate_group.groovy | 3 +++
.../load_p0/insert/test_insert_random_distribution_table.groovy | 6 ++++++
.../suites/schema_change_p0/test_dup_mv_schema_change.groovy | 1 +
3 files changed, 10 insertions(+)
diff --git a/regression-test/suites/alter_p2/test_alter_colocate_group.groovy
b/regression-test/suites/alter_p2/test_alter_colocate_group.groovy
index bb203769b63..848f4146dcc 100644
--- a/regression-test/suites/alter_p2/test_alter_colocate_group.groovy
+++ b/regression-test/suites/alter_p2/test_alter_colocate_group.groovy
@@ -126,6 +126,7 @@ suite ("test_alter_colocate_group") {
for (def group : groups) {
allocMap[group[1]] = group[4]
}
+ log.info("allocMap: ${allocMap}")
assertEquals("tag.location.default: ${replicaNum}".toString(),
allocMap[groupName])
}
@@ -134,12 +135,14 @@ suite ("test_alter_colocate_group") {
def result = sql """ show create table ${tableName} """
def createTbl = result[0][1].toString()
assertTrue(createTbl.indexOf("\"replication_allocation\" =
\"tag.location.default: ${replicaNum}\"") > 0)
+ log.info("createTbl: ${createTbl}")
if (hasDynamicPart) {
assertTrue(createTbl.indexOf(
"\"dynamic_partition.replication_allocation\" =
\"tag.location.default: ${replicaNum}\"") > 0)
}
result = sql """ show partitions from ${tableName} """
+ log.info("result: ${result}")
assertTrue(result.size() > 0)
for (int i = 0; i < result.size(); i++) {
assertEquals("${replicaNum}".toString(), result[i][9].toString())
diff --git
a/regression-test/suites/load_p0/insert/test_insert_random_distribution_table.groovy
b/regression-test/suites/load_p0/insert/test_insert_random_distribution_table.groovy
index 9510a4f7980..d67b9d9efef 100644
---
a/regression-test/suites/load_p0/insert/test_insert_random_distribution_table.groovy
+++
b/regression-test/suites/load_p0/insert/test_insert_random_distribution_table.groovy
@@ -36,6 +36,12 @@ suite("test_insert_random_distribution_table", "p0") {
);
"""
+ def ret = sql "SHOW FRONTEND CONFIG like
'%wait_internal_group_commit_finish%';"
+ if (ret[0][1] == "true") {
+ logger.info("skip: wait_internal_group_commit_finish is true")
+ return
+ }
+
sql "set batch_size=2"
// insert first time
sql "insert into ${tableName} values('2021-11-14', '2', '3', '4', 55),
('2022-12-13', '3', '31', '4', 55), ('2023-10-14', '23', '45', '66', 88),
('2023-10-16', '2', '3', '4', 55)"
diff --git
a/regression-test/suites/schema_change_p0/test_dup_mv_schema_change.groovy
b/regression-test/suites/schema_change_p0/test_dup_mv_schema_change.groovy
index a6ad20ec623..9632512952f 100644
--- a/regression-test/suites/schema_change_p0/test_dup_mv_schema_change.groovy
+++ b/regression-test/suites/schema_change_p0/test_dup_mv_schema_change.groovy
@@ -29,6 +29,7 @@ suite ("test_dup_mv_schema_change") {
def waitForJob = (tbName, timeout) -> {
Awaitility.await().atMost(timeout,
TimeUnit.SECONDS).with().pollDelay(100, TimeUnit.MILLISECONDS).await().until(()
-> {
String result = getJobState(tbName)
+ log.info("job state: ${result}")
if (result == "FINISHED") {
return true;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]