Impala Public Jenkins has submitted this change and it was merged. ( 
https://gerrit.cloudera.org/25355 )

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

IMPALA-15739: Restore blacklist state in test teardown

IMPALA-15493 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
Reviewed-on: https://gerrit.cloudera.org/25355
Reviewed-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Jason Fehr <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
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(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved; Verified
  Jason Fehr: Looks good to me, approved

--
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: merged
Gerrit-Change-Id: Idbc1ed113785f98c52dce2557a8633dcc8f76c72
Gerrit-Change-Number: 25355
Gerrit-PatchSet: 4
Gerrit-Owner: Michael Smith <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Laszlo Gaal (Cloudera) <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Mihaly Szjatinya <[email protected]>
Gerrit-Reviewer: Noemi Pap-Takacs <[email protected]>
Gerrit-Reviewer: Peter Rozsa <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>

Reply via email to