Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SQL: [Test] Fix issues with timezone between JDKs (#56493)
What basically happens is that the server runs on a java version where a certain timezone has a set of offset rules, while the test itself runs on a java version where the same timezone has changed offset rules (think about a country deciding to use utc+x instead of utc+y). With this change the timezone used in testGettingTimeWithoutCalendar is randomly generated by creating a fixed offset timezone (ie GMT+X or Z instead of Australia/West timezone) so that the offset is always fixed, thus avoiding the described issue. Similar fix to #51592 Fixes: #52650
- Loading branch information