opensearch-project / opensearch-project/sql
[BUG] "DateTimeUtilsTest" unit test fails in IST timezone and passes successfully in UTC Timezone
Open
@Yury-Fridlyand is already working on this.
Since Aug 3, 2023.
bug
maintenance
SQL
- Dominant language
- Java
- Stars
- 176
- Forks
- 229
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 43
Description
What is the bug?
DateTimeUtilsTest fails in IST timezone and passes successfully in UTC timezone
Please check the below logs for more details.
Gradle log - grade.log
Stack trace - stacktrace.log
How can one reproduce the bug?
Steps to reproduce the behavior:
- Change the timezone to IST by running
export TZ="Asia/Kolkata" - Run
./gradlew buildto start the build
What is the expected behavior?
All unit tests should pass successfully
What is your host/environment?
- OS: macOS Ventura
- Version 13.3.1 (a) (22E772610a)
- Plugins - Opensearch SQL 2.8.0 - https://github.com/opensearch-project/sql/tree/2.8
Do you have any screenshots?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.