opensearch-project / opensearch-project/sql

[BUG] "DateTimeUtilsTest" unit test fails in IST timezone and passes successfully in UTC Timezone

Open
#1,922 1 comment 1 reaction 1 assignee View on GitHub

@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:

  1. Change the timezone to IST by running export TZ="Asia/Kolkata"
  2. Run ./gradlew build to start the build

What is the expected behavior?
All unit tests should pass successfully

What is your host/environment?

Do you have any screenshots?

Screenshot 2023-08-02 at 4 49 54 PM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.