fivetran-arunsuri commented on PR #2197:
URL: https://github.com/apache/polaris/pull/2197#issuecomment-3152694473

   > Thanks for your contribution, @fivetran-arunsuri !
   > 
   > As far as I understand, principal secrets rotation is implemented only for 
JDBC persistence... I think EclipseLink (being deprecated) is ok to exclude 
from this feature, but the tree map (in-memory) persistence should probably 
have an implementation too (to support full API with in-memory servers).
   > 
   > Could you also add integration tests exercising both the happy path and 
authorization errors?
   
   @dimas-b I’ve added the in-memory TreeMap implementation as well as the 
corresponding integration tests. However, I’m currently having trouble running 
the integration tests locally. I couldn’t find much detail around this in the 
README either.
   
   Could you please guide me on how to set them up or point me to any relevant 
documentation?
   
   The error I am seeing is as follows:
   `org.junit.jupiter.api.extension.ParameterResolutionException: Failed to 
resolve parameter [org.apache.polaris.service.it.env.PolarisApiEndpoints arg0] 
in method [public static void 
org.apache.polaris.service.it.test.PolarisManagementServiceIntegrationTest.setup(org.apache.polaris.service.it.env.PolarisApiEndpoints,org.apache.polaris.service.it.env.ClientCredentials)]
   
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        Suppressed: java.lang.NullPointerException: Cannot invoke 
"org.apache.polaris.service.it.env.PolarisClient.close()" because 
"org.apache.polaris.service.it.test.PolarisManagementServiceIntegrationTest.client"
 is null
                at 
org.apache.polaris.service.it.test.PolarisManagementServiceIntegrationTest.close(PolarisManagementServiceIntegrationTest.java:127)
                at java.base/java.lang.reflect.Method.invoke(Method.java:580)
                at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
                at 
java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1116)
                ... 1 more
   Caused by: java.lang.ExceptionInInitializerError
        at 
org.apache.polaris.service.it.ext.PolarisIntegrationTestExtension.lambda$env$0(PolarisIntegrationTestExtension.java:72)
        at 
org.apache.polaris.service.it.ext.PolarisIntegrationTestExtension.env(PolarisIntegrationTestExtension.java:71)
        at 
org.apache.polaris.service.it.ext.PolarisIntegrationTestExtension.resolveParameter(PolarisIntegrationTestExtension.java:56)
        ... 1 more
   Caused by: java.lang.IllegalStateException: PolarisServerManager not found
        at 
org.apache.polaris.service.it.ext.PolarisServerManagerLoader.lambda$static$0(PolarisServerManagerLoader.java:28)
        at java.base/java.util.Optional.orElseThrow(Optional.java:403)
        at 
org.apache.polaris.service.it.ext.PolarisServerManagerLoader.<clinit>(PolarisServerManagerLoader.java:28)
        ... 4 more`
   


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