chia7712 commented on code in PR #23386:
URL: https://github.com/apache/kafka/pull/23386#discussion_r3964011664


##########
streams/integration-tests/src/test/java/org/apache/kafka/streams/integration/TaskMetadataIntegrationTest.java:
##########
@@ -151,7 +150,7 @@ public void shouldReportCorrectEndOffsetInformation() {
                 TestUtils.waitForCondition(() -> !process.get(), "The record 
was not processed");
                 process.set(true);
             }
-            assertThat(taskMetadata.endOffsets().get(topicPartition), 
equalTo(9L));
+            assertEquals(9L, taskMetadata.endOffsets().get(topicPartition));
 
         } catch (final Exception e) {
             e.printStackTrace();

Review Comment:
   Interesting ... why did we swallow the exception in the test? We should 
remove it in a follow-up.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to