mirror of https://github.com/apache/kafka.git
MINOR: Fix incorrect scala example in README of test-common (#17837)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
00cd9cd3f9
commit
381fbc1359
|
|
@ -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 = { ... }
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue