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

FrankYang0529 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 1bcb23135e1 MINOR: Fix typo in DynamicBrokerConfigTest (#22352)
1bcb23135e1 is described below

commit 1bcb23135e142d448081dfdb6b6b1ecc505e08b9
Author: PoAn Yang <[email protected]>
AuthorDate: Sat May 23 15:34:12 2026 +0900

    MINOR: Fix typo in DynamicBrokerConfigTest (#22352)
    
    props -> props3
    
    Reviewers: Chia-Ping Tsai <[email protected]>
    
    Signed-off-by: PoAn Yang <[email protected]>
---
 core/src/test/scala/unit/kafka/server/DynamicBrokerConfigTest.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/src/test/scala/unit/kafka/server/DynamicBrokerConfigTest.scala 
b/core/src/test/scala/unit/kafka/server/DynamicBrokerConfigTest.scala
index a451847994e..71ab195ed97 100755
--- a/core/src/test/scala/unit/kafka/server/DynamicBrokerConfigTest.scala
+++ b/core/src/test/scala/unit/kafka/server/DynamicBrokerConfigTest.scala
@@ -249,7 +249,7 @@ class DynamicBrokerConfigTest {
 
     val props3 = new Properties()
     props3.put(RemoteLogManagerConfig.REMOTE_LOG_READER_THREADS_PROP, "-1")
-    val err3 = assertThrows(classOf[ConfigException], () => 
config.dynamicConfig.validate(props, perBrokerConfig = true))
+    val err3 = assertThrows(classOf[ConfigException], () => 
config.dynamicConfig.validate(props3, perBrokerConfig = true))
     assertTrue(err3.getMessage.contains("Value must be at least 1"))
     verifyNoMoreInteractions(remoteLogManager)
 

Reply via email to