chia7712 commented on a change in pull request #9457:
URL: https://github.com/apache/kafka/pull/9457#discussion_r559935499



##########
File path: 
streams/test-utils/src/test/java/org/apache/kafka/streams/test/TestRecordTest.java
##########
@@ -166,6 +167,9 @@ public void testProducerRecord() {
         final TestRecord<String, Integer> testRecord = new 
TestRecord<>(producerRecord);
         final TestRecord<String, Integer> expectedRecord = new 
TestRecord<>(key, value, headers, recordTime);
         assertEquals(expectedRecord, testRecord);
-        assertNotEquals(expectedRecord, producerRecord);
+        assertFalse(expectedRecord.getHeaders() == producerRecord.headers() &&

Review comment:
       Could we address this issue in separate PR? It seem to me this issue 
does not belong to "trivial cleanups" :)




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


Reply via email to