g1geordie commented on a change in pull request #9955:
URL: https://github.com/apache/kafka/pull/9955#discussion_r563253451
##########
File path:
clients/src/test/java/org/apache/kafka/clients/producer/MockProducerTest.java
##########
@@ -114,7 +114,7 @@ public void testManualCompletion() throws Exception {
Future<RecordMetadata> md3 = producer.send(record1);
Future<RecordMetadata> md4 = producer.send(record2);
- assertTrue(!md3.isDone() && !md4.isDone(), "Requests should not be
completed.");
+ assertFalse(md3.isDone() && !md4.isDone(), "Requests should not be
completed.");
Review comment:
@dengziming hello , Is it the same condition?
----------------------------------------------------------------
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:
[email protected]