paulirwin opened a new pull request, #1137:
URL: https://github.com/apache/lucenenet/pull/1137

   - [X] You've read the [Contributor 
Guide](https://github.com/apache/lucenenet/blob/main/CONTRIBUTING.md) and [Code 
of Conduct](https://www.apache.org/foundation/policies/conduct.html).
   - [X] You've included unit or integration tests for your change, where 
applicable.
   - [ ] You've included inline docs for your change, where applicable.
   - [X] There's an open issue for the PR that you are making. If you'd like to 
propose a change, please [open an 
issue](https://github.com/apache/lucenenet/issues/new/choose) to discuss the 
change or find an existing issue.
   
   Fixes random failing tests when local time zone participates in Daylight 
Saving Time
   
   Fixes #1133
   
   ## Description
   
   The random seed in #1133 results in many failing tests due to the 
lucenenet-specific code in AlcoholicMergePolicy converting between the local 
time zone and the random time zone in a way that could result in an invalid 
date/time being created when near a DST boundary. This fixes this particular 
issue by always converting from UTC (which does not have DST) to the random 
time zone. I believe this should be reliable even if the destination/random 
time zone participates in DST.


-- 
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: dev-unsubscr...@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to