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 8499253c728 [regression-test](fix) global var in p2 cases (#47152)
8499253c728 is described below

commit 8499253c7289bd0b4c01c29b48b42252304d9fcf
Author: shuke <sh...@selectdb.com>
AuthorDate: Fri Jan 17 14:28:28 2025 +0800

    [regression-test](fix) global var in p2 cases (#47152)
---
 .../test_base_compaction_with_dup_key_max_file_size_limit.groovy    | 6 +++---
 regression-test/suites/inverted_index_p2/test_show_data.groovy      | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/regression-test/suites/compaction/test_base_compaction_with_dup_key_max_file_size_limit.groovy
 
b/regression-test/suites/compaction/test_base_compaction_with_dup_key_max_file_size_limit.groovy
index 40f226a514a..a006ea406d6 100644
--- 
a/regression-test/suites/compaction/test_base_compaction_with_dup_key_max_file_size_limit.groovy
+++ 
b/regression-test/suites/compaction/test_base_compaction_with_dup_key_max_file_size_limit.groovy
@@ -98,9 +98,9 @@ 
suite("test_base_compaction_with_dup_key_max_file_size_limit", "p2") {
             String command = sb.toString()
             logger.info(command)
             def process = command.execute()
-            def code = process.waitFor()
-            def err = IOGroovyMethods.getText(new BufferedReader(new 
InputStreamReader(process.getErrorStream())));
-            def out = process.getText()
+            code = process.waitFor()
+            err = IOGroovyMethods.getText(new BufferedReader(new 
InputStreamReader(process.getErrorStream())));
+            out = process.getText()
             logger.info("Run compaction: code=" + code + ", out=" + out + ", 
disableAutoCompaction " + disableAutoCompaction + ", err=" + err)
             if (!disableAutoCompaction) {
                 return "Success, " + out
diff --git a/regression-test/suites/inverted_index_p2/test_show_data.groovy 
b/regression-test/suites/inverted_index_p2/test_show_data.groovy
index c24c14e9857..7132121ac30 100644
--- a/regression-test/suites/inverted_index_p2/test_show_data.groovy
+++ b/regression-test/suites/inverted_index_p2/test_show_data.groovy
@@ -644,8 +644,8 @@ suite("test_show_data_with_compaction", "p2") {
     }
 
     def set_be_config = { key, value ->
-        for (String backend_id: backendId_to_backendIP.keySet()) {
-            (code, out, err) = 
update_be_config(backendId_to_backendIP.get(backend_id), 
backendId_to_backendHttpPort.get(backend_id), key, value)
+        for (String bid: backendId_to_backendIP.keySet()) {
+            (code, out, err) = 
update_be_config(backendId_to_backendIP.get(bid), 
backendId_to_backendHttpPort.get(bid), key, value)
             logger.info("update config: code=" + code + ", out=" + out + ", 
err=" + err)
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to