You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by vv...@apache.org on 2022/07/27 02:21:33 UTC
[kafka] branch trunk updated: MINOR: remove unnecessary test stubbing (#12445)
This is an automated email from the ASF dual-hosted git repository.
vvcephei pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6ac58ac6fc MINOR: remove unnecessary test stubbing (#12445)
6ac58ac6fc is described below
commit 6ac58ac6fcd53a512ea0bc0b3dc66f49870ff0cb
Author: Hao Li <11...@users.noreply.github.com>
AuthorDate: Tue Jul 26 19:21:11 2022 -0700
MINOR: remove unnecessary test stubbing (#12445)
Reviewers: John Roesler <vv...@apache.org>
---
.../org/apache/kafka/connect/runtime/WorkerConfigTransformerTest.java | 3 ---
1 file changed, 3 deletions(-)
diff --git a/connect/runtime/src/test/java/org/apache/kafka/connect/runtime/WorkerConfigTransformerTest.java b/connect/runtime/src/test/java/org/apache/kafka/connect/runtime/WorkerConfigTransformerTest.java
index 0184422396..b13f825b96 100644
--- a/connect/runtime/src/test/java/org/apache/kafka/connect/runtime/WorkerConfigTransformerTest.java
+++ b/connect/runtime/src/test/java/org/apache/kafka/connect/runtime/WorkerConfigTransformerTest.java
@@ -76,9 +76,6 @@ public class WorkerConfigTransformerTest {
@Test
public void testReplaceVariableWithTTL() {
- // Setup
- when(worker.herder()).thenReturn(herder);
-
// Execution
Map<String, String> props = new HashMap<>();
props.put(MY_KEY, "${test:testPath:testKeyWithTTL}");