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 d52cd81f4f7 branch-3.1: [fix](case) remove global variable
declarations in load #54418 (#54432)
d52cd81f4f7 is described below
commit d52cd81f4f75722f586b8787469ead1ecd548a27
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Aug 7 20:22:29 2025 +0800
branch-3.1: [fix](case) remove global variable declarations in load #54418
(#54432)
Cherry-picked from #54418
Co-authored-by: Xin Liao <[email protected]>
---
.../suites/fault_injection_p0/test_disable_move_memtable.groovy | 2 +-
regression-test/suites/load_p0/stream_load/test_json_load.groovy | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/regression-test/suites/fault_injection_p0/test_disable_move_memtable.groovy
b/regression-test/suites/fault_injection_p0/test_disable_move_memtable.groovy
index 1513d1ec75d..2945d2f4365 100644
---
a/regression-test/suites/fault_injection_p0/test_disable_move_memtable.groovy
+++
b/regression-test/suites/fault_injection_p0/test_disable_move_memtable.groovy
@@ -228,7 +228,7 @@ suite("test_disable_move_memtable", "nonConcurrent") {
}
def check_load_result = {checklabel, testTablex, res ->
- max_try_milli_secs = 10000
+ def max_try_milli_secs = 10000
while(max_try_milli_secs) {
result = sql "show load where label = '${checklabel}'"
log.info("result: ${result}")
diff --git a/regression-test/suites/load_p0/stream_load/test_json_load.groovy
b/regression-test/suites/load_p0/stream_load/test_json_load.groovy
index a3d6eb6932d..8bbd6d844e9 100644
--- a/regression-test/suites/load_p0/stream_load/test_json_load.groovy
+++ b/regression-test/suites/load_p0/stream_load/test_json_load.groovy
@@ -228,7 +228,7 @@ suite("test_json_load", "p0,nonConcurrent") {
}
def check_load_result = {checklabel, testTablex ->
- max_try_milli_secs = 10000
+ def max_try_milli_secs = 10000
while(max_try_milli_secs) {
result = sql "show load where label = '${checklabel}'"
if(result[0][2] == "FINISHED") {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]