nsivabalan opened a new pull request, #7720:
URL: https://github.com/apache/hudi/pull/7720
### Change Logs
Recently we have more flakiness in our CI runs. So, taking a stab at fixing
some of the high frequent tests.
Tests that were fixed:
TestHoodieDeltaStreamerWithMultiWriter.* (all tests)
TestHoodieClientOnMergeOnReadStorage ( testReadingMORTableWithoutBaseFile,
testCompactionOnMORTable,
testLogCompactionOnMORTable, testLogCompactionOnMORTableWithoutBaseFile)
Reasoning for flakiness:
1. we generate only 10 inserts in our tests and it does not guarantee we
have records for all 10 partitions.
2. in MOR table tests, due to small file handling, we end up expanding
existing file group to pack both updates and inserts and hence no log files
were generated. but tests expects compaction to happen after 5 commits which
fails the test in such cases.
Fixes:
- HoodieTestDataGenerator was choosing random partition among list of
partitions while generating insert records. Fixed that to do round robin. Also,
bumped up the num of records inserted in some of the flaky tests to 100 from
10.
- Fixed respective MOR tests to disable small file handling.
### Impact
_Describe any public API or user-facing feature change or any performance
impact._
### Risk level (write none, low medium or high below)
_If medium or high, explain what verification was done to mitigate the
risks._
### Documentation Update
_Describe any necessary documentation update if there is any new feature,
config, or user-facing change_
- _The config description must be updated if new configs are added or the
default value of the configs are changed_
- _Any new feature or user-facing change requires updating the Hudi website.
Please create a Jira ticket, attach the
ticket number here and follow the
[instruction](https://hudi.apache.org/contribute/developer-setup#website) to
make
changes to the website._
### Contributor's checklist
- [ ] Read through [contributor's
guide](https://hudi.apache.org/contribute/how-to-contribute)
- [ ] Change Logs and Impact were stated clearly
- [ ] Adequate tests were added if applicable
- [ ] CI passed
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]