You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdks/java/io/kafka/file-aware-factories/src/main/java/org/apache/beam/sdk/io/kafka/file/aware/factories/FileAwareFactoryFn.java
Copy file name to clipboardExpand all lines: sdks/java/io/kafka/file-aware-factories/src/main/java/org/apache/beam/sdk/io/kafka/file/aware/factories/KerberosConsumerFactoryFn.java
+5-13Lines changed: 5 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -59,10 +59,8 @@ public KerberosConsumerFactoryFn(String krb5ConfigGcsPath) {
Copy file name to clipboardExpand all lines: sdks/java/io/kafka/file-aware-factories/src/test/java/org/apache/beam/sdk/io/kafka/file/aware/factories/FileAwareFactoryFnTest.java
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -220,10 +220,6 @@ public void testApplyHappyPathResolvesSecretValue() {
220
220
Map<String, Object> config = newHashMap<>();
221
221
config.put("db.password", originalValue);
222
222
223
-
// FIX: Create an anonymous inner class that extends our TestFactoryFn
224
-
// and overrides the resolveSecret method to return a hardcoded value.
225
-
// This completely avoids the call to the real getSecret method and its
226
-
// final class dependencies.
227
223
TestFactoryFnfactoryWithMockedSecret =
228
224
newTestFactoryFn() {
229
225
@Override
@@ -252,8 +248,6 @@ public void testApplyFailurePathThrowsExceptionForInvalidSecretFormat() {
Copy file name to clipboardExpand all lines: sdks/java/io/kafka/file-aware-factories/src/test/java/org/apache/beam/sdk/io/kafka/file/aware/factories/KerberosConsumerFactoryFnTest.java
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,6 @@ public class KerberosConsumerFactoryFnTest {
53
53
54
54
@Before
55
55
publicvoidsetup() {
56
-
// Use reflection to reset the static variable before each test for isolation
0 commit comments