Skip to content

Commit 01575fd

Browse files
committed
Use default auth for Iceberg integration tests
1 parent 24f22f2 commit 01575fd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run",
3-
"modification": 1
3+
"modification": 2
44
}

Diff for: sdks/java/io/iceberg/src/test/java/org/apache/beam/sdk/io/iceberg/IcebergIOIT.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ public static void beforeClass() {
108108

109109
catalogHadoopConf = new Configuration();
110110
catalogHadoopConf.set("fs.gs.project.id", options.getProject());
111-
catalogHadoopConf.set(
112-
"fs.gs.auth.service.account.json.keyfile", System.getenv("GOOGLE_APPLICATION_CREDENTIALS"));
111+
catalogHadoopConf.set("fs.gs.auth.type", "APPLICATION_DEFAULT");
113112
}
114113

115114
@Before

0 commit comments

Comments
 (0)