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 d248d9522c7 branch-3.0: [fix](case) fix some cases #55739 (#55768)
d248d9522c7 is described below

commit d248d9522c77591957691dd56cd2700aa8bd151b
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Sep 8 22:36:21 2025 +0800

    branch-3.0: [fix](case) fix some cases #55739 (#55768)
    
    Cherry-picked from #55739
    
    Co-authored-by: Yongqiang YANG <[email protected]>
---
 .../suites/compaction/test_compaction_score_action.groovy    |  1 +
 .../suites/compaction/test_config_prune_delete_sign.groovy   | 12 +++++++++---
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git 
a/regression-test/suites/compaction/test_compaction_score_action.groovy 
b/regression-test/suites/compaction/test_compaction_score_action.groovy
index 94b8ce5d34e..a6b57b4a54d 100644
--- a/regression-test/suites/compaction/test_compaction_score_action.groovy
+++ b/regression-test/suites/compaction/test_compaction_score_action.groovy
@@ -46,6 +46,7 @@ suite("test_compaction_score_action") {
             assertTrue(score >= 90)
         } else {
             def (code, text, err) = curl("GET", 
beHttpAddress+"/api/compaction_score?top_n=1")
+            log.info("text: ${text}")
             def score_str = parseJson(text).get(0).get("compaction_score")
             def score = Integer.parseInt(score_str)
             assertTrue(score >= 90)
diff --git 
a/regression-test/suites/compaction/test_config_prune_delete_sign.groovy 
b/regression-test/suites/compaction/test_config_prune_delete_sign.groovy
index 78b0fbe732d..67d75a1b66e 100644
--- a/regression-test/suites/compaction/test_config_prune_delete_sign.groovy
+++ b/regression-test/suites/compaction/test_config_prune_delete_sign.groovy
@@ -71,14 +71,20 @@ suite("test_config_prune_delete_sign", "nonConcurrent") {
         }
         trigger_and_wait_compaction(table1, "cumulative")
 
+        def tablets = sql_return_maparray """ show tablets from ${table1}; """
+        logger.info("tablets: ${tablets}")
+        String compactionUrl = tablets[0]["CompactionStatus"]
+        def (code, out, err) = curl("GET", compactionUrl)
+        logger.info("Show tablets status: code=" + code + ", out=" + out + ", 
err=" + err)
+
         trigger_and_wait_compaction(table1, "base")
         qt_sql "select count() from ${table1};"
         getDeleteSignCnt()
 
-        def tablets = sql_return_maparray """ show tablets from ${table1}; """
+        tablets = sql_return_maparray """ show tablets from ${table1}; """
         logger.info("tablets: ${tablets}")
-        String compactionUrl = tablets[0]["CompactionStatus"]
-        def (code, out, err) = curl("GET", compactionUrl)
+        compactionUrl = tablets[0]["CompactionStatus"]
+        (code, out, err) = curl("GET", compactionUrl)
         logger.info("Show tablets status: code=" + code + ", out=" + out + ", 
err=" + err)
         assert code == 0
         def tabletJson = parseJson(out.trim())


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to