snazy commented on code in PR #2229: URL: https://github.com/apache/polaris/pull/2229#discussion_r2248149172
########## polaris-core/src/testFixtures/java/org/apache/polaris/core/persistence/PolarisTestMetaStoreManager.java: ########## @@ -2903,9 +2900,10 @@ void testPolicyMappingCleanup() { // Drop N1_N2_T1, the corresponding policy mapping should be cleaned-up this.dropEntity(List.of(catalog, N1, N1_N2), N1_N2_T3); - BasePersistence ms = polarisCallContext.getMetaStore(); + // hackish way to inspect internal metastore + BasePersistence metaStore = ((BaseMetaStoreManager<?>) polarisMetaStoreManager).getMetaStore(); Review Comment: ```suggestion BasePersistence metaStore = getBasePersistence(); ``` plus the implementation ``` protected BasePersistence getBasePersistence() { return ((BaseMetaStoreManager<?>) polarisMetaStoreManager).getMetaStore(); } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org