You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by ja...@apache.org on 2022/11/14 16:06:14 UTC

[iceberg] branch master updated: AWS: Fix catalog name in LakeFormationTestBase (#5767)

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

jackye pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 436e2d66dd AWS: Fix catalog name in LakeFormationTestBase (#5767)
436e2d66dd is described below

commit 436e2d66dd3fa0d475f67e228acc42ebb9609388
Author: Akira Ajisaka <aa...@apache.org>
AuthorDate: Tue Nov 15 01:06:05 2022 +0900

    AWS: Fix catalog name in LakeFormationTestBase (#5767)
---
 .../org/apache/iceberg/aws/lakeformation/LakeFormationTestBase.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/aws/src/integration/java/org/apache/iceberg/aws/lakeformation/LakeFormationTestBase.java b/aws/src/integration/java/org/apache/iceberg/aws/lakeformation/LakeFormationTestBase.java
index 6af37c648b..bce227ec63 100644
--- a/aws/src/integration/java/org/apache/iceberg/aws/lakeformation/LakeFormationTestBase.java
+++ b/aws/src/integration/java/org/apache/iceberg/aws/lakeformation/LakeFormationTestBase.java
@@ -233,7 +233,7 @@ public class LakeFormationTestBase {
         AwsProperties.CLIENT_ASSUME_ROLE_TAGS_PREFIX
             + LakeFormationAwsClientFactory.LF_AUTHORIZED_CALLER,
         LF_AUTHORIZED_CALLER_VALUE);
-    glueCatalogPrivilegedRole.initialize("test_registered", assumeRoleProperties);
+    glueCatalogPrivilegedRole.initialize("test_privileged", assumeRoleProperties);
 
     // Build test glueCatalog with lfRegisterPathRole
     assumeRoleProperties.put(AwsProperties.GLUE_LAKEFORMATION_ENABLED, "false");
@@ -244,7 +244,7 @@ public class LakeFormationTestBase {
     assumeRoleProperties.put(
         AwsProperties.CLIENT_FACTORY, AssumeRoleAwsClientFactory.class.getName());
     glueCatalogRegisterPathRole = new GlueCatalog();
-    glueCatalogRegisterPathRole.initialize("test_privileged", assumeRoleProperties);
+    glueCatalogRegisterPathRole.initialize("test_registered", assumeRoleProperties);
     // register S3 test bucket path
     deregisterResource(testBucketPath);
     registerResource(testBucketPath);