You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by da...@apache.org on 2025/11/24 18:14:26 UTC
(doris) branch master updated: [fix](test) fix unstable check_before_quit cases (#58295)
This is an automated email from the ASF dual-hosted git repository.
dataroaring 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 689377ac851 [fix](test) fix unstable check_before_quit cases (#58295)
689377ac851 is described below
commit 689377ac85157cd722a8dac519ea24e7ddfe71d1
Author: Mingyu Chen (Rayner) <mo...@163.com>
AuthorDate: Tue Nov 25 02:14:17 2025 +0800
[fix](test) fix unstable check_before_quit cases (#58295)
---
.../suites/check_before_quit/check_before_quit.groovy | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/regression-test/suites/check_before_quit/check_before_quit.groovy b/regression-test/suites/check_before_quit/check_before_quit.groovy
index c9f8a491449..a3c7e1148aa 100644
--- a/regression-test/suites/check_before_quit/check_before_quit.groovy
+++ b/regression-test/suites/check_before_quit/check_before_quit.groovy
@@ -256,7 +256,7 @@ suite("check_before_quit", "nonConcurrent,p0") {
if (db == "__internal_schema" || db == "information_schema" || db == "mysql") {
continue
}
- List<List<Object>> allTables = sql "show tables from ${db}"
+ List<List<Object>> allTables = sql "show tables from `${db}`"
logger.info("show all tables: ${allTables}")
for (int j = 0; j < allTables.size(); j++) {
def tbl = allTables[j][0]
@@ -264,12 +264,12 @@ suite("check_before_quit", "nonConcurrent,p0") {
try {
// cloud mode not allowed to set light_schema_change = true
if (!isCloudMode()) {
- createTableSql = sql "show create table ${db}.${tbl}"
+ createTableSql = sql "show create table `${db}`.${tbl}"
if (createTableSql[0][1].contains("CREATE TABLE")) {
try {
- sql " ALTER TABLE ${db}.${tbl} SET (\"light_schema_change\" = \"true\") "
+ sql " ALTER TABLE `${db}`.${tbl} SET (\"light_schema_change\" = \"true\") "
} catch (Exception alterEx) {
- logger.warn("Failed to alter table ${db}.${tbl} to set light_schema_change: ${alterEx.getMessage()}")
+ logger.warn("Failed to alter table `${db}`.${tbl} to set light_schema_change: ${alterEx.getMessage()}")
failureList << [
operation: "ALTER TABLE",
target: "${tbl}",
@@ -277,12 +277,12 @@ suite("check_before_quit", "nonConcurrent,p0") {
]
}
}
- createTableSql = sql "show create table ${db}.${tbl}"
+ createTableSql = sql "show create table `${db}`.${tbl}"
}
} catch (Exception e) {
if (e.getMessage().contains("not support async materialized view")) {
try {
- createTableSql = sql "show create materialized view ${db}.${tbl}"
+ createTableSql = sql "show create materialized view `${db}`.${tbl}"
} catch (Exception e2) {
if (e2.getMessage().contains("table not found")) {
continue
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org