This is an automated email from the ASF dual-hosted git repository.
ahmedabualsaud pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 12ad2afd2d6 Use default auth for Iceberg integration tests (#31940)
12ad2afd2d6 is described below
commit 12ad2afd2d667d6897680b01fe555477cde3742d
Author: Ahmed Abualsaud <[email protected]>
AuthorDate: Fri Jul 19 15:32:59 2024 -0400
Use default auth for Iceberg integration tests (#31940)
---
.github/trigger_files/IO_Iceberg_Integration_Tests.json | 2 +-
.../src/test/java/org/apache/beam/sdk/io/iceberg/IcebergIOIT.java | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/.github/trigger_files/IO_Iceberg_Integration_Tests.json
b/.github/trigger_files/IO_Iceberg_Integration_Tests.json
index 1efc8e9e440..3f63c0c9975 100644
--- a/.github/trigger_files/IO_Iceberg_Integration_Tests.json
+++ b/.github/trigger_files/IO_Iceberg_Integration_Tests.json
@@ -1,4 +1,4 @@
{
"comment": "Modify this file in a trivial way to cause this test suite to
run",
- "modification": 1
+ "modification": 2
}
diff --git
a/sdks/java/io/iceberg/src/test/java/org/apache/beam/sdk/io/iceberg/IcebergIOIT.java
b/sdks/java/io/iceberg/src/test/java/org/apache/beam/sdk/io/iceberg/IcebergIOIT.java
index 0420e2f5779..1c5686bfde9 100644
---
a/sdks/java/io/iceberg/src/test/java/org/apache/beam/sdk/io/iceberg/IcebergIOIT.java
+++
b/sdks/java/io/iceberg/src/test/java/org/apache/beam/sdk/io/iceberg/IcebergIOIT.java
@@ -108,8 +108,7 @@ public class IcebergIOIT implements Serializable {
catalogHadoopConf = new Configuration();
catalogHadoopConf.set("fs.gs.project.id", options.getProject());
- catalogHadoopConf.set(
- "fs.gs.auth.service.account.json.keyfile",
System.getenv("GOOGLE_APPLICATION_CREDENTIALS"));
+ catalogHadoopConf.set("fs.gs.auth.type", "APPLICATION_DEFAULT");
}
@Before