Closed danielbroll closed 1 year ago
Thanks. Windows is annoying :/ Timers on Windows have a very low resolution. On my Linux machine I get a very small difference, which is rounded down (so that "PT335H59M" is expected). I guess that LocalDateTime.now
on Windows returns the same time, without any difference, which seems wrong to me. I need more coffee...
2023-01-01T11:40:56.522623468
2022-12-18T11:40:56.522630851
PT335H59M59.999992617S
Describe the bug Several tests fail on windows.
de.cotto.lndmanagej.controller.ObjectMapperConfigurationIT#output_is_pretty_printed
de.cotto.lndmanagej.model.LiquidityBoundsWithTimestampTest#isTooOld_for_max_age_old_entry
Expecting value to be true but was false
de.cotto.lndmanagej.balances.persistence.BalancesDaoImplTest.GetLocalBalanceAverage#one_old_entry
To Reproduce Which commands did you run to reproduce this?
gradlew build pitest
Expected behavior All tests are green on the main branch
Additional context Add any other context about the problem here.
lastest version main branch: f0505de0185c621cd7397817f8e24542b16d0c6a
Windows 10 Pro