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 904fcf7761f branch-3.0: [chore](case) log out msg to find reason of 
case failure #55892 (#56050)
904fcf7761f is described below

commit 904fcf7761fe8bc79b45ecc298bf57e8bd992c33
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Sep 15 17:33:55 2025 +0800

    branch-3.0: [chore](case) log out msg to find reason of case failure #55892 
(#56050)
    
    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]

Reply via email to