This is an automated email from the ASF dual-hosted git repository.

hellostephen pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 879bb796556 [regression-test](fix) fix two case bug (#45974)
879bb796556 is described below

commit 879bb796556cb839a6e8d521243597453b24dc93
Author: shuke <[email protected]>
AuthorDate: Thu Dec 26 10:25:32 2024 +0800

    [regression-test](fix) fix two case bug (#45974)
---
 .../test_base_compaction_with_dup_key_max_file_size_limit.groovy    | 6 +++---
 regression-test/suites/inverted_index_p1/test_show_data.groovy      | 2 +-
 2 files changed, 4 insertions(+), 4 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 c798256aa0d..bb6318d8f7d 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
@@ -97,9 +97,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_p1/test_show_data.groovy 
b/regression-test/suites/inverted_index_p1/test_show_data.groovy
index a687e71d60c..648ba67561d 100644
--- a/regression-test/suites/inverted_index_p1/test_show_data.groovy
+++ b/regression-test/suites/inverted_index_p1/test_show_data.groovy
@@ -566,7 +566,7 @@ suite("test_show_data_with_compaction", "p1") {
     }
 
     def set_be_config = { key, value ->
-        for (String backend_id: backendId_to_backendIP.keySet()) {
+        for (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)
             logger.info("update config: code=" + code + ", out=" + out + ", 
err=" + err)
         }


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

Reply via email to