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
2> java.time.DateTimeException: Zone offset minutes and seconds must be negative because hours is negative
at __randomizedtesting.SeedInfo.seed([9E38B51CB7D2E6F:99FD35C51101D220]:0)
at java.base/java.time.ZoneOffset.validate(ZoneOffset.java:373)
at java.base/java.time.ZoneOffset.ofHoursMinutesSeconds(ZoneOffset.java:317)
at java.base/java.time.ZoneOffset.ofHoursMinutes(ZoneOffset.java:300)
at org.elasticsearch.cluster.metadata.DateMathExpressionResolverTests.testExpression_CustomTimeZoneInIndexName(DateMathExpressionResolverTests.java:140)
The text was updated successfully, but these errors were encountered:
Joda classes for timezones accepted positive minutes when a negative
hours was used, but Java time expects negative minutes when negative
hours are used. This commit fixes tests to ensure negative minutes are
used with negative hours.
closeselastic#78783
Joda classes for timezones accepted positive minutes when a negative
hours was used, but Java time expects negative minutes when negative
hours are used. This commit fixes tests to ensure negative minutes are
used with negative hours.
closes#78783
Build scan:
https://gradle-enterprise.elastic.co/s/h7kmtpcgqm4mi
Repro line:
./gradlew ':server:test' --tests "org.elasticsearch.cluster.metadata.DateMathExpressionResolverTests.testExpression_CustomTimeZoneInIndexName" -Dtests.seed=9E38B51CB7D2E6F -Dtests.locale=es-CO -Dtests.timezone=Europe/Ulyanovsk -Druntime.java=11
Reproduces locally?:
Yes
Applicable branches:
master
Failure excerpt:
The text was updated successfully, but these errors were encountered: