This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new 8b266b74282 branch-3.1: [chore](case) log out msg to find reason of
case failure #55892 (#56053)
8b266b74282 is described below
commit 8b266b74282bae88274d72281f8db99959cbb121
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Sep 25 16:49:47 2025 +0800
branch-3.1: [chore](case) log out msg to find reason of case failure #55892
(#56053)
Cherry-picked from #55892
Co-authored-by: Yongqiang YANG <[email protected]>
---
.../suites/alter_p2/test_alter_colocate_group.groovy | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
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 3b8aa406865..667728f1bee 100644
--- a/regression-test/suites/alter_p2/test_alter_colocate_group.groovy
+++ b/regression-test/suites/alter_p2/test_alter_colocate_group.groovy
@@ -134,11 +134,13 @@ suite ("test_alter_colocate_group") {
def checkTableReplicaAlloc = { tableName, hasDynamicPart, replicaNum ->
def result = sql """ show create table ${tableName} """
def createTbl = result[0][1].toString()
- log.info("createTbl: ${createTbl}")
- assertTrue(createTbl.indexOf("\"replication_allocation\" =
\"tag.location.default: ${replicaNum}\"") > 0)
+ def expectString = "\"replication_allocation\" =
\"tag.location.default: ${replicaNum}\""
+ log.info("createTbl: ${createTbl}, expectString: ${expectString}")
+ assertTrue(createTbl.indexOf(expectString) > 0)
if (hasDynamicPart) {
- assertTrue(createTbl.indexOf(
- "\"dynamic_partition.replication_allocation\" =
\"tag.location.default: ${replicaNum}\"") > 0)
+ expectString = "\"dynamic_partition.replication_allocation\" =
\"tag.location.default: ${replicaNum}\""
+ log.info("createTbl: ${createTbl}, expectString: ${expectString}")
+ assertTrue(createTbl.indexOf(expectString) > 0)
}
result = sql """ show partitions from ${tableName} """
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]