xushiyan commented on a change in pull request #1521: [HUDI-798] Migrate to
Mockito Jupiter for JUnit 5
URL: https://github.com/apache/incubator-hudi/pull/1521#discussion_r409315688
##########
File path:
hudi-hadoop-mr/src/test/java/org/apache/hudi/hadoop/realtime/TestHoodieRealtimeFileSplit.java
##########
@@ -86,7 +78,7 @@ public void testWrite() throws IOException {
// register expected method calls for void functions
// so that we can verify what was called after the method call finishes
- doNothing().when(out).writeByte(anyByte());
+ doNothing().when(out).writeByte(anyInt());
Review comment:
writeByte() actually takes an int.. so strict stubbing requires an int for
this.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services