This is an automated email from the ASF dual-hosted git repository.
hellostephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new ddb691987a8 [fix](case) fix global vars used in cases (#55933)
ddb691987a8 is described below
commit ddb691987a866763b93e789f4c007d3a6e0288e8
Author: shuke <[email protected]>
AuthorDate: Tue Sep 16 16:16:10 2025 +0800
[fix](case) fix global vars used in cases (#55933)
---
.../suites/compaction/compaction_width_array_column.groovy | 8 ++++----
.../test_base_compaction_with_dup_key_max_file_size_limit.groovy | 2 +-
.../suites/compaction/test_single_replica_compaction.groovy | 2 +-
.../ssb_unique_load_zstd/four/load_four_step.groovy | 2 +-
.../ssb_unique_load_zstd/three/load_three_step.groovy | 2 +-
5 files changed, 8 insertions(+), 8 deletions(-)
diff --git
a/regression-test/suites/compaction/compaction_width_array_column.groovy
b/regression-test/suites/compaction/compaction_width_array_column.groovy
index 02db07ab43f..d80e67c6cd8 100644
--- a/regression-test/suites/compaction/compaction_width_array_column.groovy
+++ b/regression-test/suites/compaction/compaction_width_array_column.groovy
@@ -57,13 +57,13 @@ suite('compaction_width_array_column', "p2") {
}
def table_load_task = { table_name ->
- uniqueID = Math.abs(UUID.randomUUID().hashCode()).toString()
- loadLabel = table_name + "_" + uniqueID
+ def uniqueID = Math.abs(UUID.randomUUID().hashCode()).toString()
+ def loadLabel = table_name + "_" + uniqueID
//loadLabel = table_name + '_load_5'
- loadSql = new
File("""${context.file.parent}/ddl/${table_name}_load.sql""").text.replaceAll("\\\$\\{s3BucketName\\}",
s3BucketName)
+ def loadSql = new
File("""${context.file.parent}/ddl/${table_name}_load.sql""").text.replaceAll("\\\$\\{s3BucketName\\}",
s3BucketName)
loadSql = loadSql.replaceAll("\\\$\\{loadLabel\\}", loadLabel)
loadSql = loadSql.replaceAll("\\\$\\{table\\_name\\}", table_name)
- nowloadSql = loadSql + s3WithProperties
+ def nowloadSql = loadSql + s3WithProperties
try_sql nowloadSql
while (true) {
diff --git
a/regression-test/suites/compaction/test_base_compaction_with_dup_key_max_file_size_limit.groovy
b/regression-test/suites/compaction/test_base_compaction_with_dup_key_max_file_size_limit.groovy
index 400e799a914..a006ea406d6 100644
---
a/regression-test/suites/compaction/test_base_compaction_with_dup_key_max_file_size_limit.groovy
+++
b/regression-test/suites/compaction/test_base_compaction_with_dup_key_max_file_size_limit.groovy
@@ -97,7 +97,7 @@
suite("test_base_compaction_with_dup_key_max_file_size_limit", "p2") {
String command = sb.toString()
logger.info(command)
- process = command.execute()
+ def process = command.execute()
code = process.waitFor()
err = IOGroovyMethods.getText(new BufferedReader(new
InputStreamReader(process.getErrorStream())));
out = process.getText()
diff --git
a/regression-test/suites/compaction/test_single_replica_compaction.groovy
b/regression-test/suites/compaction/test_single_replica_compaction.groovy
index 0f2632b6fef..9cc9c9a9c0f 100644
--- a/regression-test/suites/compaction/test_single_replica_compaction.groovy
+++ b/regression-test/suites/compaction/test_single_replica_compaction.groovy
@@ -114,7 +114,7 @@ suite("test_single_compaction_p2", "p2") {
String command = sb.toString()
logger.info(command)
- process = command.execute()
+ def process = command.execute()
code = process.waitFor()
out = process.getText()
logger.info("Get compaction status: code=" + code + ", out=" + out)
diff --git
a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/four/load_four_step.groovy
b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/four/load_four_step.groovy
index 1ab6bd29844..d0e93c322cc 100644
---
a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/four/load_four_step.groovy
+++
b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/four/load_four_step.groovy
@@ -70,7 +70,7 @@ suite("load_four_step") {
}
sleep(5000)
}
- rowCount = sql "select count(*) from ${tableName}"
+ def rowCount = sql "select count(*) from ${tableName}"
assertEquals(rows[1], rowCount[0][0])
}
diff --git
a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/three/load_three_step.groovy
b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/three/load_three_step.groovy
index 1b470515f7b..40225f73433 100644
---
a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/three/load_three_step.groovy
+++
b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/three/load_three_step.groovy
@@ -67,7 +67,7 @@ suite("load_three_step") {
}
sleep(5000)
}
- rowCount = sql "select count(*) from ${tableName}"
+ def rowCount = sql "select count(*) from ${tableName}"
assertEquals(rows[1], rowCount[0][0])
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]