chia7712 commented on code in PR #17579:
URL: https://github.com/apache/kafka/pull/17579#discussion_r1833252842
##########
test-common/src/main/java/org/apache/kafka/common/test/TestUtils.java:
##########
@@ -125,4 +148,131 @@ static void retryOnExceptionWithTimeout(final Runnable
runnable) throws Interrup
Thread.sleep(DEFAULT_POLL_INTERVAL_MS);
}
}
+
+ /**
+ * Wrap a single record log buffer.
+ */
+ public static MemoryRecords singletonRecords(byte[] value,
Review Comment:
If those helpers are used by `DeleteTopicTest` only, could you please move
them into `DeleteTopicTest`?
--
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]