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 ab4f189fd11 branch-3.0: [fix](regression) Avoid defined global variables in backup-restore case script #49102 (#49133) ab4f189fd11 is described below commit ab4f189fd11ba7e3b1ba727394da67283af22b7e Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Mon Mar 17 15:33:25 2025 +0800 branch-3.0: [fix](regression) Avoid defined global variables in backup-restore case script #49102 (#49133) Cherry-picked from #49102 Co-authored-by: xy720 <22125576+xy...@users.noreply.github.com> --- .../suites/backup_restore/test_backup_store_with_db_properties.groovy | 2 +- .../backup_restore/test_backup_store_with_db_properties_kv.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/regression-test/suites/backup_restore/test_backup_store_with_db_properties.groovy b/regression-test/suites/backup_restore/test_backup_store_with_db_properties.groovy index 83cd32dd33d..7871d304b29 100644 --- a/regression-test/suites/backup_restore/test_backup_store_with_db_properties.groovy +++ b/regression-test/suites/backup_restore/test_backup_store_with_db_properties.groovy @@ -96,7 +96,7 @@ suite("test_backup_store_with_db_properties","backup_restore") { assertEquals(result_kv_restore, result_kv_origin); for (def tableName in tables) { - result = sql "SELECT * FROM ${dbName}.${tableName}" + def result = sql "SELECT * FROM ${dbName}.${tableName}" assertEquals(result.size(), numRows); sql "DROP TABLE ${dbName}.${tableName} FORCE" } diff --git a/regression-test/suites/backup_restore/test_backup_store_with_db_properties_kv.groovy b/regression-test/suites/backup_restore/test_backup_store_with_db_properties_kv.groovy index 5c57819c73a..28982f9eac0 100644 --- a/regression-test/suites/backup_restore/test_backup_store_with_db_properties_kv.groovy +++ b/regression-test/suites/backup_restore/test_backup_store_with_db_properties_kv.groovy @@ -101,7 +101,7 @@ suite("test_backup_store_with_db_properties_kv","backup_restore") { assertEquals(result_restore, result_origin); for (def tableName in tables) { - result = sql "SELECT * FROM ${dbName}.${tableName}" + def result = sql "SELECT * FROM ${dbName}.${tableName}" assertEquals(result.size(), numRows); sql "DROP TABLE ${dbName}.${tableName} FORCE" } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org