You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "gh-yzou (via GitHub)" <gi...@apache.org> on 2024/12/02 02:17:31 UTC

[I] [FEATURE REQUEST] Refactor usage of DropwizardAppExtension in the tests for PolarisApplication to maximize the reuse [polaris]

gh-yzou opened a new issue, #502:
URL: https://github.com/apache/polaris/issues/502

   ### Is your feature request related to a problem? Please describe.
   
   There are a lot of tests uses DropwizardAppExtension to init a PolarisApplication, for example:
   ```
   private static final DropwizardAppExtension<PolarisApplicationConfig> EXT =
         new DropwizardAppExtension<>(
             PolarisApplication.class,
             ResourceHelpers.resourceFilePath("polaris-server-integrationtest.yml"),
             // Bind to random port to support parallelism
             ConfigOverride.config("server.applicationConnectors[0].port", "0"),
             ConfigOverride.config("server.adminConnectors[0].port", "0"),
             // Block overlapping catalog paths:
             ConfigOverride.config("featureConfiguration.ALLOW_OVERLAPPING_CATALOG_URLS", "false"));
   ```
   in PolarisOverlappingCatalogTest.java.
   
   
   ### Describe the solution you'd like
   
   We can refactor the usaage as a util function or base class for maximize reuse.
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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-unsubscribe@polaris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [FEATURE REQUEST] Refactor usage of DropwizardAppExtension in the tests for PolarisApplication to maximize the reuse [polaris]

Posted by "gh-yzou (via GitHub)" <gi...@apache.org>.
gh-yzou commented on issue #502:
URL: https://github.com/apache/polaris/issues/502#issuecomment-2512568629

   i am working on this


-- 
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-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org