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

   
   ### Change Logs
   
   Fixed disabled 
TestHoodieSparkSqlWriter#testInsertDatasetWithTimelineTimezoneUTC by moving it 
in a separate class.
   The problem is in the value of static 
HoodieInstantTimeGenerator.lastInstantTime in the heap.
   
   If we run some tests with HoodieTimelineTimeZone.LOCAL and our local time is 
greater than UTC+0,
   then some instant time will be saved in the heap. And if we try after to run 
any test with HoodieTimelineTimeZone.UTC, it will lead to the infinite loop in 
HoodieInstantTimeGenerator.createNewInstantTime(), where we compare old and new 
instant times.
   The old value will be used from the previous test run from the heap.
   
   ### Impact
   
   No impact.
   
   ### Risk level (write none, low medium or high below)
   
   None.
   
   ### Documentation Update
   
   No need.
   
   ### 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]

Reply via email to