mingyen066 commented on code in PR #20751:
URL: https://github.com/apache/kafka/pull/20751#discussion_r2452789623
##########
clients/src/test/java/org/apache/kafka/common/header/internals/RecordHeadersTest.java:
##########
@@ -265,4 +272,40 @@ static void assertHeader(String key, String value, Header
actual) {
assertArrayEquals(value.getBytes(), actual.value());
}
+ @Test
+ public void testRecordHeaderIsReadThreadSafe() throws Exception {
+ int repeats = 5000;
Review Comment:
No, @RepeatedTest is good.
--
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]