prashantwason commented on a change in pull request #1310: [HUDI-601] Improve
unit test coverage for HoodieAvroWriteSupport, HoodieRealtimeRecordReader,
RealtimeCompactedRecordReader
URL: https://github.com/apache/incubator-hudi/pull/1310#discussion_r380870271
##########
File path:
hudi-hadoop-mr/src/test/java/org/apache/hudi/hadoop/realtime/TestHoodieRealtimeRecordReader.java
##########
@@ -333,6 +337,8 @@ public void testUnMergedReader() throws Exception {
assertEquals(numRecords, numRecordsAtCommit1);
assertEquals(numRecords, numRecordsAtCommit2);
assertEquals(2 * numRecords, seenKeys.size());
+ assertEquals(1.0, recordReader.getProgress(), 0.05);
Review comment:
Maybe add a comment here why the expected value is not strictly equal to 1.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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services