This is an automated email from the ASF dual-hosted git repository.
hello-stephen 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 ae88ed43c3f [fix](regression) Isolate non-catalog Kerberos test
database (#65825)
ae88ed43c3f is described below
commit ae88ed43c3fea8f5e00928c035ac57d1e475656b
Author: Socrates <[email protected]>
AuthorDate: Tue Jul 21 10:52:08 2026 +0800
[fix](regression) Isolate non-catalog Kerberos test database (#65825)
The Kerberos external regression suites can run concurrently against the
same Hive Metastore. Both `test_non_catalog_kerberos` and
`test_two_hive_kerberos` used the database name `test_krb_hive_db`.
Creating an external HMS database with `IF NOT EXISTS` performs a check
followed by a create operation. When both suites create the database
concurrently, both checks can observe that it is absent, and one request
then fails with an HMS `AlreadyExistsException`.
Use a dedicated `test_non_catalog_krb_hive_db` database for the
non-catalog Kerberos suite. This isolates its fixture from the two-Hive
suite without changing the tested export, outfile, HDFS, or Kerberos
behavior.
---
.../external_table_p0/kerberos/test_non_catalog_kerberos.groovy | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/regression-test/suites/external_table_p0/kerberos/test_non_catalog_kerberos.groovy
b/regression-test/suites/external_table_p0/kerberos/test_non_catalog_kerberos.groovy
index 8023596d50f..0ba39257b8c 100644
---
a/regression-test/suites/external_table_p0/kerberos/test_non_catalog_kerberos.groovy
+++
b/regression-test/suites/external_table_p0/kerberos/test_non_catalog_kerberos.groovy
@@ -56,8 +56,8 @@ suite("test_non_catalog_kerberos", "p0,external") {
"""
sql """ switch ${hms_catalog_name} """
- sql """ create database if not exists test_krb_hive_db """
- sql """ use test_krb_hive_db """
+ sql """ create database if not exists test_non_catalog_krb_hive_db """
+ sql """ use test_non_catalog_krb_hive_db """
sql """ drop table if exists ${test_tbl_name}"""
sql """
CREATE TABLE `${test_tbl_name}` (
@@ -147,7 +147,7 @@ suite("test_non_catalog_kerberos", "p0,external") {
Awaitility.await("queery-export-task-result-test").atMost(60,
SECONDS).pollInterval(5, SECONDS).until(
{
sql """ switch ${hms_catalog_name} """
- sql """ use test_krb_hive_db """
+ sql """ use test_non_catalog_krb_hive_db """
def res = sql """ show export where label =
"${export_task_label}" """
if (res[0][2] == "FINISHED") {
return true
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]