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 38961aec409 [fix](regression-test) fix global var in cases (#51633)
38961aec409 is described below
commit 38961aec409e5140fb679b99b81bac9686561dc2
Author: shuke <[email protected]>
AuthorDate: Wed Jun 11 20:49:25 2025 +0800
[fix](regression-test) fix global var in cases (#51633)
---
.../suites/load_p0/spark_load/test_spark_load.groovy | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/regression-test/suites/load_p0/spark_load/test_spark_load.groovy
b/regression-test/suites/load_p0/spark_load/test_spark_load.groovy
index c798ad1fcf7..59df3195b27 100644
--- a/regression-test/suites/load_p0/spark_load/test_spark_load.groovy
+++ b/regression-test/suites/load_p0/spark_load/test_spark_load.groovy
@@ -23,9 +23,9 @@ suite("test_spark_load", "p0") {
def yarnAddress = "master:8032"
def hdfsAddress = "hdfs://master:9000"
def hdfsWorkingDir = "hdfs://master:9000/doris"
- brokerName =getBrokerName()
- hdfsUser = getHdfsUser()
- hdfsPasswd = getHdfsPasswd()
+ def brokerName =getBrokerName()
+ def hdfsUser = getHdfsUser()
+ def hdfsPasswd = getHdfsPasswd()
def create_test_table = {testTablex ->
def result1 = sql """
@@ -110,9 +110,9 @@ suite("test_spark_load", "p0") {
}
def check_load_result = {checklabel, testTablex, testTablex2 ->
- 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 c_int"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]