C0urante commented on PR #12524: URL: https://github.com/apache/kafka/pull/12524#issuecomment-1218152299
Hey @mdedetrich--it looks like the issue here is caused by differences in default return values for boxed primitive types between Mockito mocks and EasyMock nice mocks; the former will return 0, but the latter will return null. Adding `when(storeMetadata.offset()).thenReturn(null);` to the beginning of each of the failing test cases mentioned in the description seems to fix the issue. I'm not too familiar with the Streams codebase, so probably best to get review from someone else, but if there are any other strange issues that don't seem Streams-specific, let me know! -- 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