Michael Smith has uploaded this change for review. ( 
https://gerrit.cloudera.org/25355


Change subject: IMPALA-15739: Restore blacklist state in test teardown
......................................................................

IMPALA-15739: Restore blacklist state in test teardown

Build 1971 added IcebergDdlExecutorTest, whose teardown restores the original
blacklist by calling setBlacklist(). This reloads CatalogBlacklistUtils' static
cache with the default blacklist (sys,information_schema). Before this class
was added, the preceding BlacklistingMetaProviderTest left the cache empty, so
testParsingBlacklistedDbsNone passed accidentally despite restored BackendConfig
flags.

Restore BackendConfig and the cached blacklist together in mutating fixtures,
and make the 'None' test set its own empty blacklist.

Assisted-by: GPT-6 Luna (GitHub Copilot)
Change-Id: Idbc1ed113785f98c52dce2557a8633dcc8f76c72
---
M 
fe/src/test/java/org/apache/impala/catalog/local/BlacklistingMetaProviderTest.java
M fe/src/test/java/org/apache/impala/service/IcebergDdlExecutorTest.java
M fe/src/test/java/org/apache/impala/util/CatalogBlacklistUtilsTest.java
3 files changed, 21 insertions(+), 9 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/55/25355/1
--
To view, visit https://gerrit.cloudera.org/25355
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idbc1ed113785f98c52dce2557a8633dcc8f76c72
Gerrit-Change-Number: 25355
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <[email protected]>

Reply via email to