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 c557c4457fd branch-3.0: [fix](case) do not define global var in groovy
#53502 (#53551)
c557c4457fd is described below
commit c557c4457fdbb6fcf497b71ca8ab73ce3eb0a4a5
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Jul 18 18:57:14 2025 +0800
branch-3.0: [fix](case) do not define global var in groovy #53502 (#53551)
Cherry-picked from #53502
Co-authored-by: Yongqiang YANG <[email protected]>
---
.../suites/fault_injection_p0/test_disable_move_memtable.groovy | 6 +++---
regression-test/suites/load_p0/stream_load/test_json_load.groovy | 6 +++---
2 files changed, 6 insertions(+), 6 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 5bca47cb71c..1513d1ec75d 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
@@ -248,9 +248,9 @@ suite("test_disable_move_memtable", "nonConcurrent") {
try {
GetDebugPoint().enableDebugPointForAllBEs(injection)
if (enableHdfs()) {
- brokerName = getBrokerName()
- hdfsUser = getHdfsUser()
- hdfsPasswd = getHdfsPasswd()
+ def brokerName = getBrokerName()
+ def hdfsUser = getHdfsUser()
+ def hdfsPasswd = getHdfsPasswd()
def hdfs_csv_file_path = uploadToHdfs
"load_p0/broker_load/broker_load_with_properties.json"
def test_load_label =
UUID.randomUUID().toString().replaceAll("-", "")
load_from_hdfs_norm.call(tableName, test_load_label,
hdfs_csv_file_path, "json",
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 cbecb831cfc..a3d6eb6932d 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
@@ -654,9 +654,9 @@ suite("test_json_load", "p0,nonConcurrent") {
// if 'enableHdfs' in regression-conf.groovy has been set to true,
// the test will run these case as below.
if (enableHdfs()) {
- brokerName =getBrokerName()
- hdfsUser = getHdfsUser()
- hdfsPasswd = getHdfsPasswd()
+ def brokerName =getBrokerName()
+ def hdfsUser = getHdfsUser()
+ def hdfsPasswd = getHdfsPasswd()
def hdfs_file_path = uploadToHdfs
"load_p0/stream_load/simple_object_json.json"
def format = "json"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]