From dd5f7c1a801ce9b5bc8994072ba8f31fddc306f0 Mon Sep 17 00:00:00 2001 From: vinlee19 Date: Mon, 23 Dec 2024 13:08:17 +0800 Subject: [PATCH] normalize regression test --- .../nereids_commands/test_use_database_stmt.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regression-test/suites/external_table_p0/nereids_commands/test_use_database_stmt.groovy b/regression-test/suites/external_table_p0/nereids_commands/test_use_database_stmt.groovy index 133bdc0c9f2770..4c9035d13472e5 100644 --- a/regression-test/suites/external_table_p0/nereids_commands/test_use_database_stmt.groovy +++ b/regression-test/suites/external_table_p0/nereids_commands/test_use_database_stmt.groovy @@ -62,7 +62,7 @@ suite("test_use_database_stmt", "p0,external,mysql,external_docker,external_dock sql """use ${internal_db_name}""" qt_sql """select current_catalog()""" sql """use ${catalog_name}.${ex_db_name}""" - Assert.fail("Access denied for user '${user}' to database '${ex_db_name}'"); + exception"Access denied for user '${user}' to database '${ex_db_name}'"; } catch (Exception e) { log.info(e.getMessage()) }