hpoenixf commented on code in PR #24278:
URL: https://github.com/apache/kafka/pull/24278#discussion_r4609983760
##########
streams/src/test/java/org/apache/kafka/streams/state/internals/ThreadCacheTest.java:
##########
@@ -137,7 +137,7 @@ public void cacheOverheadsLargeValues() {
static long memoryCacheEntrySize(final byte[] key, final byte[] value,
final String topic) {
- return key.length +
+ return 2 + // source raw key and value in the test fixtures
Review Comment:
Updated in 7a2ae22. `memoryCacheEntrySize` now takes explicit raw key/value
lengths. The raw-record fixtures pass their actual lengths, and the store tests
without raw bytes pass `0, 0`.
--
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]