You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] UnixTimeStampTest may fail due to floating point precision #996
What is the bug? UnixTimeStampTest.checkNoArgs() may fail sometimes and floating precision seems the root cause. See error logs below:
UnixTimeStampTest > checkNoArgs() FAILED
org.opentest4j.AssertionFailedError: expected: <1667255816> but was: <1667255817>
at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:618)
at app//org.opensearch.sql.expression.datetime.UnixTimeStampTest.checkNoArgs(UnixTimeStampTest.java:34)
changed the title [-][BUG] UnixTimeStampTest may fail due to floating precision[/-][+][BUG] UnixTimeStampTest may fail due to floating point precision[/+]on Oct 31, 2022
Activity
[-][BUG] UnixTimeStampTest may fail due to floating precision[/-][+][BUG] UnixTimeStampTest may fail due to floating point precision[/+]Yury-Fridlyand commentedon Oct 31, 2022
Depends on #937/#960 as well.
Fix flaky tests: timezone sensitivity, float precision, and assertion…
qianheng-aws commentedon Apr 7, 2026
Closed as too stale. Didn't see this flakey failure for a long time.