You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by jo...@apache.org on 2025/05/20 17:23:44 UTC

(kafka) branch trunk updated: MINOR:- Edit test in transaction command (#19746)

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 <98...@users.noreply.github.com>
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 <jo...@confuent.io>, Kuan-Po Tseng
     <br...@gmail.com>, Ken Huang <s7...@gmail.com>
---
 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"
         });
     }