Skip to content

Commit 4cd8587

Browse files
mingyen066manoj-mathivanan
authored andcommitted
MINOR: Fix wrong config property in KafkaConfigTest (apache#18815)
Reviewers: Ken Huang <[email protected]>, Chia-Ping Tsai <[email protected]>
1 parent 3b79e3c commit 4cd8587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/scala/unit/kafka/server/KafkaConfigTest.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class KafkaConfigTest {
5656
props.setProperty(KRaftConfigs.CONTROLLER_LISTENER_NAMES_CONFIG, "CONTROLLER")
5757
props.setProperty(KRaftConfigs.NODE_ID_CONFIG, "1")
5858
props.setProperty(SocketServerConfigs.LISTENERS_CONFIG, "PLAINTEXT://localhost:0,CONTROLLER://localhost:5000")
59-
props.setProperty(QuorumConfig.QUORUM_VOTERS_CONFIG, "2@localhost:5000")
59+
props.setProperty(QuorumConfig.QUORUM_VOTERS_CONFIG, "1@localhost:5000")
6060
props.setProperty(SocketServerConfigs.LISTENER_SECURITY_PROTOCOL_MAP_CONFIG, "PLAINTEXT:PLAINTEXT,CONTROLLER:SASL_SSL")
6161
props
6262
}

0 commit comments

Comments
 (0)