XN137 commented on code in PR #2023:
URL: https://github.com/apache/polaris/pull/2023#discussion_r2196895654


##########
runtime/service/src/test/java/org/apache/polaris/service/quarkus/catalog/IcebergCatalogTest.java:
##########
@@ -450,42 +446,6 @@ protected boolean supportsNotifications() {
     return true;
   }
 
-  private MetaStoreManagerFactory createMockMetaStoreManagerFactory() {
-    return new MetaStoreManagerFactory() {
-      @Override
-      public PolarisMetaStoreManager getOrCreateMetaStoreManager(RealmContext 
realmContext) {
-        return metaStoreManager;
-      }
-
-      @Override
-      public Supplier<TransactionalPersistence> getOrCreateSessionSupplier(
-          RealmContext realmContext) {
-        return () -> ((TransactionalPersistence) 
polarisContext.getMetaStore());
-      }
-
-      @Override
-      public StorageCredentialCache 
getOrCreateStorageCredentialCache(RealmContext realmContext) {
-        return new StorageCredentialCache(realmContext, configurationStore);
-      }
-
-      @Override
-      public InMemoryEntityCache getOrCreateEntityCache(RealmContext 
realmContext) {
-        return new InMemoryEntityCache(realmContext, configurationStore, 
metaStoreManager);
-      }
-
-      @Override
-      public Map<String, PrincipalSecretsResult> bootstrapRealms(
-          Iterable<String> realms, RootCredentialsSet rootCredentialsSet) {
-        throw new NotImplementedException("Bootstrapping realms is not 
supported");

Review Comment:
   was throwing this exception the reason why some tests where using 
`createMockMetaStoreManagerFactory()` instead of the Mock in the field?
   
   or just left-over code without a particular reason?
   sorry in case i am missing something obvious



-- 
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

Reply via email to