You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2020/09/28 21:18:41 UTC

[GitHub] [kafka] splett2 commented on a change in pull request #9347: KAFKA-10531: Check for negative values to Thread.sleep call

splett2 commented on a change in pull request #9347:
URL: https://github.com/apache/kafka/pull/9347#discussion_r496238384



##########
File path: connect/runtime/src/test/java/org/apache/kafka/connect/util/KafkaBasedLogTest.java
##########
@@ -536,6 +536,22 @@ public void onCompletion(RecordMetadata metadata, Exception exception) {
         PowerMock.verifyAll();
     }
 
+    /**
+     * Check if the waitForTopicCreate method doesn't throw if time moves backward, and works
+     * correctly if it increases.
+     */
+    @Test
+    public void testWatiForTopicCreate() {

Review comment:
       nit: typo in `Wati`




----------------------------------------------------------------
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:
users@infra.apache.org