andrew4699 opened a new pull request, #391:
URL: https://github.com/apache/polaris/pull/391

   # Description
   
   This is a test-only change which adds a pattern for running tests against 
user-specified environments by specifying your own base URL and HTTP client. 
Makes PolarisRestCatalogViewIntegrationTest use the custom test environment.
   
   Example:
   ```
   INTEGRATION_TEST_BASE_URL="http://localhost:8181"; \
   
INTEGRATION_TEST_HTTP_CLIENT_FACTORY_IMPL="org.apache.polaris.MyCustomHttpClientFactory"
 \
   INTEGRATION_TEST_ROLE_ARN="arn:aws:iam::<role>" \
   INTEGRATION_TEST_S3_PATH="s3://<bucket>" \
   ./gradlew test --info --rerun --tests 
"org.apache.polaris.service.catalog.PolarisRestCatalogViewIntegrationTest"
   ```
   
   ## Type of change
   
   - [X] New feature (non-breaking change which adds functionality)
   
   # How Has This Been Tested?
   
   - [X] Existing tests work
   - [X] Tested running against a non-Dropwizard Polaris with a custom HTTP 
client
   
   # Checklist:
   
   - [X] I have performed a self-review of my code
   - [X] I have commented my code, particularly in hard-to-understand areas
   - [X] My changes generate no new warnings
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to