This is an automated email from the ASF dual-hosted git repository.

chia7712 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 381fbc1359e MINOR: Fix incorrect scala example in README of 
test-common (#17837)
381fbc1359e is described below

commit 381fbc1359e7ab5ca576087622441a7e1d3eae99
Author: TengYao Chi <[email protected]>
AuthorDate: Mon Nov 18 18:03:17 2024 +0800

    MINOR: Fix incorrect scala example in README of test-common (#17837)
    
    Reviewers: Chia-Ping Tsai <[email protected]>
---
 .../src/main/java/org/apache/kafka/common/test/api/README.md          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/test-common/test-common-api/src/main/java/org/apache/kafka/common/test/api/README.md
 
b/test-common/test-common-api/src/main/java/org/apache/kafka/common/test/api/README.md
index f2d5b40e9fd..a0e815f9385 100644
--- 
a/test-common/test-common-api/src/main/java/org/apache/kafka/common/test/api/README.md
+++ 
b/test-common/test-common-api/src/main/java/org/apache/kafka/common/test/api/README.md
@@ -28,8 +28,8 @@ Multiple `@ClusterTest` annotations can be given to generate 
more than one test
 
 ```scala
 @ClusterTests(Array(
-  @ClusterTest(brokerSecurityProtocol = SecurityProtocol.PLAINTEXT),
-  @ClusterTest(securityProtocol = SecurityProtocol.SASL_PLAINTEXT)
+  new ClusterTest(brokerSecurityProtocol = SecurityProtocol.PLAINTEXT),
+  new ClusterTest(brokerSecurityProtocol = SecurityProtocol.SASL_PLAINTEXT)
 ))
 def testSomething(): Unit = { ... }
 ```

Reply via email to