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 3b4810d70bf [fix](test) remove global variables in script in 
NonConcurrent cases (#54670)
3b4810d70bf is described below

commit 3b4810d70bf70068d1754f0d61b4e26fd74bb729
Author: morrySnow <[email protected]>
AuthorDate: Thu Aug 14 13:53:16 2025 +0800

    [fix](test) remove global variables in script in NonConcurrent cases 
(#54670)
---
 .../test_dynamic_partition_mod_distribution_key_restart.groovy      | 2 +-
 .../flexible/legacy/test_f_conflict_be_restart.groovy               | 6 +++---
 .../partial_update/test_partial_update_conflict_be_restart.groovy   | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/regression-test/suites/partition_p0/dynamic_partition/test_dynamic_partition_mod_distribution_key_restart.groovy
 
b/regression-test/suites/partition_p0/dynamic_partition/test_dynamic_partition_mod_distribution_key_restart.groovy
index d31b26758e0..e40a5769649 100644
--- 
a/regression-test/suites/partition_p0/dynamic_partition/test_dynamic_partition_mod_distribution_key_restart.groovy
+++ 
b/regression-test/suites/partition_p0/dynamic_partition/test_dynamic_partition_mod_distribution_key_restart.groovy
@@ -63,7 +63,7 @@ suite("test_dynamic_partition_mod_distribution_key_restart", 
"docker") {
 
             sql """ ADMIN SET FRONTEND CONFIG 
('dynamic_partition_check_interval_seconds' = '1') """
             sql """ alter table ${tableName} set('dynamic_partition.end'='5') 
"""
-            result = sql "show partitions from ${tableName}"
+            def result = sql "show partitions from ${tableName}"
             for (def retry = 0; retry < 10; retry++) { // at most wait 120s
                 if (result.size() == 9) {
                     break;
diff --git 
a/regression-test/suites/unique_with_mow_p0/flexible/legacy/test_f_conflict_be_restart.groovy
 
b/regression-test/suites/unique_with_mow_p0/flexible/legacy/test_f_conflict_be_restart.groovy
index bbfc465df5b..2b174792b23 100644
--- 
a/regression-test/suites/unique_with_mow_p0/flexible/legacy/test_f_conflict_be_restart.groovy
+++ 
b/regression-test/suites/unique_with_mow_p0/flexible/legacy/test_f_conflict_be_restart.groovy
@@ -70,9 +70,9 @@ suite("test_f_conflict_be_restart", "docker") {
             log.info("http_stream execute 2pc: ${command}")
 
             def process = command.execute()
-            code = process.waitFor()
-            out = process.text
-            json2pc = parseJson(out)
+            def code = process.waitFor()
+            def out = process.text
+            def json2pc = parseJson(out)
             log.info("http_stream 2pc result: ${out}".toString())
             assertEquals(code, 0)
             assertEquals("success", json2pc.status.toLowerCase())
diff --git 
a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_conflict_be_restart.groovy
 
b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_conflict_be_restart.groovy
index 642363f9098..bf425f40ed0 100644
--- 
a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_conflict_be_restart.groovy
+++ 
b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_conflict_be_restart.groovy
@@ -69,9 +69,9 @@ suite("test_partial_update_conflict_be_restart", 'docker') {
             log.info("http_stream execute 2pc: ${command}")
 
             def process = command.execute()
-            code = process.waitFor()
-            out = process.text
-            json2pc = parseJson(out)
+            def code = process.waitFor()
+            def out = process.text
+            def json2pc = parseJson(out)
             log.info("http_stream 2pc result: ${out}".toString())
             assertEquals(code, 0)
             assertEquals("success", json2pc.status.toLowerCase())


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

Reply via email to