chia7712 commented on PR #24172:
URL: https://github.com/apache/kafka/pull/24172#issuecomment-7107210157
```
Unexpected exception type thrown, expected:
<org.apache.kafka.common.InvalidRecordException> but was:
<org.apache.kafka.common.record.RecordSizeLimitExceededException>
Expected :class org.apache.kafka.common.InvalidRecordException
Actual :class
org.apache.kafka.common.record.RecordSizeLimitExceededException
<Click to see difference>
org.opentest4j.AssertionFailedError: Unexpected exception type thrown,
expected: <org.apache.kafka.common.InvalidRecordException> but was:
<org.apache.kafka.common.record.RecordSizeLimitExceededException>
at
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at
org.junit.jupiter.api.AssertThrowsExactly.assertThrowsExactly(AssertThrowsExactly.java:67)
at
org.junit.jupiter.api.AssertThrowsExactly.assertThrowsExactly(AssertThrowsExactly.java:35)
at
org.junit.jupiter.api.Assertions.assertThrowsExactly(Assertions.java:3060)
at
org.apache.kafka.common.record.DefaultRecordTest.testOnlyAllocatableBodySizeExceedingConfiguredMaxIsReportedAsLimitViolation(DefaultRecordTest.java:576)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: org.apache.kafka.common.record.RecordSizeLimitExceededException:
Invalid record size: 1000 exceeds the configured maximum record size of 100.
Invalid record size: 1000 exceeds the configured maximum record size of 100.
org.apache.kafka.common.record.RecordSizeLimitExceededException: Invalid
record size: 1000 exceeds the configured maximum record size of 100.
```
Please fix the failed test
--
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]