This is an automated email from the ASF dual-hosted git repository.

snazy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new 94af80a59 Fix 
`CatalogFederationIntegrationTest.testFederatedCatalogWithCredentialVending()` 
for AWSSDK update (#3664)
94af80a59 is described below

commit 94af80a5902c18d3a77a4ea16acc11f1680b70d5
Author: Robert Stupp <[email protected]>
AuthorDate: Wed Feb 4 14:06:53 2026 +0100

    Fix 
`CatalogFederationIntegrationTest.testFederatedCatalogWithCredentialVending()` 
for AWSSDK update (#3664)
    
    Recent AWSSDK versions introduce 
`software.amazon.awssdk.services.s3.model.AccessDeniedException`, hence the 
assertion on `S3Exception` fails.
---
 .../polaris/service/it/test/CatalogFederationIntegrationTest.java      | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/integration-tests/src/main/java/org/apache/polaris/service/it/test/CatalogFederationIntegrationTest.java
 
b/integration-tests/src/main/java/org/apache/polaris/service/it/test/CatalogFederationIntegrationTest.java
index 287b8f6d3..e60fe3fad 100644
--- 
a/integration-tests/src/main/java/org/apache/polaris/service/it/test/CatalogFederationIntegrationTest.java
+++ 
b/integration-tests/src/main/java/org/apache/polaris/service/it/test/CatalogFederationIntegrationTest.java
@@ -422,8 +422,7 @@ public class CatalogFederationIntegrationTest {
 
     // Verify that write is blocked since the vended credential should only 
have read permission
     assertThatThrownBy(() -> spark.sql("INSERT INTO ns1.test_table VALUES (3, 
'Charlie')"))
-        .hasMessageContaining(
-            "software.amazon.awssdk.services.s3.model.S3Exception: Access 
Denied. (Service: S3, Status Code: 403,");
+        .hasMessageContaining("Access Denied. (Service: S3, Status Code: 
403,");
 
     // Case 3: TABLE_WRITE_DATA should
     managementApi.revokeGrant(federatedCatalogName, federatedCatalogRoleName, 
tableReadDataGrant);

Reply via email to