yihua opened a new pull request, #17793:
URL: https://github.com/apache/hudi/pull/17793

   ### Describe the issue this Pull Request addresses
   
   The test 
`TestHoodieClientMultiWriter#testMultiWriterWithInsertsToDistinctPartitions` 
uses hardcoded sequential instant times ("002", "003", "004", "005", "006") for 
5 concurrent writers. Since the writers ran concurrently without coordination, 
there was no guarantee they would start and complete in order. If writer "004" 
started first, subsequent attempts would create "002" or "003", which is not 
realistic.
   
   ### Summary and Changelog
   
   This PR fixes the test to use 
`InProcessTimeGenerator.createNewInstantTime()` for the each commit.
   
   ### Impact
   
   Test improvement.
   
   ### Risk Level
   
   none
   
   ### Documentation Update
   
   none
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Enough context is provided in the sections above
   - [ ] Adequate tests were added if applicable
   


-- 
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]

Reply via email to