CuriousVini commented on a change in pull request #84: (TWILL-265) Upgrading 
kafka version and removing lz4 dependency
URL: https://github.com/apache/twill/pull/84#discussion_r368149843
 
 

 ##########
 File path: 
twill-core/src/test/java/org/apache/twill/kafka/client/KafkaTest.java
 ##########
 @@ -135,6 +135,9 @@ public void finished() {
           server = new EmbeddedKafkaServer(kafkaServerConfig);
           server.startAndWait();
 
+          // Wait a little while to make sure changes is reflected in broker 
service
+          TimeUnit.SECONDS.sleep(3);
 
 Review comment:
   I kept it same as `testBrokerChange()`. But I agree the suggested approach 
would be a little bit more efficient implementation. 
   I will open another pr with that enhancement to both the tests to keep the 
changes in this pr related to kafka version upgrade. 

----------------------------------------------------------------
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


With regards,
Apache Git Services

Reply via email to