modi95 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_r404299327
##########
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:
We do expect it to be exactly. But this is just what the assertEquals
function for floats/doubles expects.
----------------------------------------------------------------
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