lucasbru commented on code in PR #20070: URL: https://github.com/apache/kafka/pull/20070#discussion_r2176921868
########## streams/src/test/java/org/apache/kafka/streams/tests/SmokeTestDriver.java: ########## @@ -694,7 +700,7 @@ private static boolean verifyTAgg(final PrintStream resultStream, expectedCount = 0L; } - if (!validationPredicate.test(expectedCount, entry.getValue().getLast().value())) { + if (entry.getValue().getLast().value().longValue() != expectedCount) { Review Comment: It is guaranteed to have at least one element, otherwise the key-value pair wouldn't be created, see Line 433 in this file. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org