This is an automated email from the ASF dual-hosted git repository.
yiguolei 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 6fb4233fbc2 branch-2.1: [fix](case) remove global variable
declarations in load (#54832)
6fb4233fbc2 is described below
commit 6fb4233fbc2fae7159cb55609944c72c7604793a
Author: Xin Liao <[email protected]>
AuthorDate: Mon Aug 18 12:15:51 2025 +0800
branch-2.1: [fix](case) remove global variable declarations in load (#54832)
---
.../suites/fault_injection_p0/test_disable_move_memtable.groovy | 4 ++--
regression-test/suites/load_p0/stream_load/test_json_load.groovy | 4 ++--
2 files changed, 4 insertions(+), 4 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 267c8fdaba8..b3b06bfc6bb 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
@@ -227,9 +227,9 @@ 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}'"
+ def result = sql "show load where label = '${checklabel}'"
log.info("result: ${result}")
if(result[0][2].toString() == "${res}".toString()) {
break
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 bd4a61c6305..2b3020f621a 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,9 +228,9 @@ suite("test_json_load", "p0") {
}
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}'"
+ def result = sql "show load where label = '${checklabel}'"
if(result[0][2] == "FINISHED") {
sql "sync"
qt_select "select * from ${testTablex} order by id"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]