This is an automated email from the ASF dual-hosted git repository.
jolshan 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 37fdbb3575f MINOR:- Edit test in transaction command (#19746)
37fdbb3575f is described below
commit 37fdbb3575fb0c6e76ce37d75435ce0bd513a420
Author: Ritika Reddy <[email protected]>
AuthorDate: Tue May 20 10:23:38 2025 -0700
MINOR:- Edit test in transaction command (#19746)
The test incorrectly used force-terminate instead of
forceTerminateTransaction
Reviewers: Justine Olshan <[email protected]>, Kuan-Po Tseng
<[email protected]>, Ken Huang <[email protected]>
---
tools/src/test/java/org/apache/kafka/tools/TransactionsCommandTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/tools/src/test/java/org/apache/kafka/tools/TransactionsCommandTest.java
b/tools/src/test/java/org/apache/kafka/tools/TransactionsCommandTest.java
index 59d9c1823a9..c46965a6ee6 100644
--- a/tools/src/test/java/org/apache/kafka/tools/TransactionsCommandTest.java
+++ b/tools/src/test/java/org/apache/kafka/tools/TransactionsCommandTest.java
@@ -265,7 +265,7 @@ public class TransactionsCommandTest {
assertCommandFailure(new String[]{
"--bootstrap-server",
"localhost:9092",
- "force-terminate"
+ "forceTerminateTransaction"
});
}