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
The single failing ZIO test is failing becouse of todays date - 31.12.2024, the 366th day of the year.
Test is trying to create a LocalDate using following code where expected.getDayOfYear is equal to current day of year.
val afterTimeExpected = expected.withDayOfYear(expected.getDayOfYear + 1)
[info] - recur at 01 hour of each day
[info] Fiber failed.
[info] An unchecked error was produced.
[info] java.time.DateTimeException: Invalid value for DayOfYear (valid values 1 - 365/366): 367
[info] at java.base/java.time.temporal.ValueRange.checkValidValue(ValueRange.java:311)
[info] at java.base/java.time.temporal.ChronoField.checkValidValue(ChronoField.java:717)
[info] at java.base/java.time.LocalDate.ofYearDay(LocalDate.java:289)
[info] at java.base/java.time.LocalDate.withDayOfYear(LocalDate.java:1143)
[info] at java.base/java.time.LocalDateTime.withDayOfYear(LocalDateTime.java:1039)
[info] at java.base/java.time.OffsetDateTime.withDayOfYear(OffsetDateTime.java:1045)
[info] at zio.ScheduleSpec$.spec$$anonfun$49(ScheduleSpec.scala:380)
See https://github.com/scala/scala3/actions/runs/12554833599
The text was updated successfully, but these errors were encountered: