dajac commented on a change in pull request #9051:
URL: https://github.com/apache/kafka/pull/9051#discussion_r458580921



##########
File path: 
core/src/test/scala/integration/kafka/server/DynamicBrokerReconfigurationTest.scala
##########
@@ -775,6 +775,24 @@ class DynamicBrokerReconfigurationTest extends 
ZooKeeperTestHarness with SaslSet
     verifyMarkPartitionsForTruncation()
   }
 
+  @Test
+  def testDefaultValueRestoredAfterDeleteDynamicConfig(): Unit = {
+    val newProps = new Properties
+    newProps.put(KafkaConfig.LogRetentionTimeMillisProp, "100000")
+    newProps.put(KafkaConfig.LogFlushIntervalMsProp, "10000")
+    TestUtils.incrementalAlterConfigs(servers, adminClients.head, newProps, 
perBrokerConfig = false).all.get

Review comment:
       Shouldn't we also `waitForConfigOnServer` after the first alteration of 
the config?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to