You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "snazy (via GitHub)" <gi...@apache.org> on 2026/09/21 09:44:51 UTC
Re: [PR] Delay `baseUri` initialization when using `PolarisApiEndpoints` for a `@BeforeAll` [polaris]
snazy commented on code in PR #5371:
URL: https://github.com/apache/polaris/pull/5371#discussion_r4060926905
##########
integration-tests/src/main/java/org/apache/polaris/service/it/ext/PolarisIntegrationTestExtension.java:
##########
@@ -99,8 +99,7 @@ private static class Env implements AutoCloseable {
private Env(Server server) {
this.server = server;
- this.endpoints =
- new PolarisApiEndpoints(server.baseUri(), server.realmId(), server.headers());
+ this.endpoints = new PolarisApiEndpoints(server::baseUri, server.realmId(), server.headers());
this.platformEndpoints = server.managementUri().map(PlatformApiEndpoints::new);
Review Comment:
Good point, addressed in a separate commit.
--
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