majialoong commented on code in PR #23407:
URL: https://github.com/apache/kafka/pull/23407#discussion_r3960320748
##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/PartitionGroupTest.java:
##########
@@ -421,7 +415,7 @@ public void
shouldThrowIllegalStateExceptionUponAddRecordsIfPartitionUnknown() {
final IllegalStateException exception = assertThrows(
IllegalStateException.class,
() -> group.addRawRecords(unknownPartition, null));
- assertThat(errMessage, equalTo(exception.getMessage()));
+ assertEquals(errMessage, exception.getMessage());
Review Comment:
`errMessage` should be the expected value, and `exception.getMessage()`
should be the actual value.
--
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]