RFR: 6961: Fix rules test
Marcus Hirt
hirt at openjdk.java.net
Sun Nov 1 14:47:50 UTC 2020
On Sun, 1 Nov 2020 09:42:26 GMT, Gunnar Morling <github.com+28612+gunnarmorling at openjdk.org> wrote:
>> Setting a fixed timezone so that the tests don't fail locally. Strange that this happened all of a sudden though.
>
> LGTM. Perhaps use an odd timezone though for testing instead (e.g. "Australia/Canberra"), so to reveal any hidden assumptions based on the assumption of UTC? Re sudden failure, if I'd have to guess, perhaps related to so DST change?
Good point, but this was the smallest possible change making stuff buildable for me again. I oon't think it was purely DST related, since the time difference between expected and actual was too large.
-------------
PR: https://git.openjdk.java.net/jmc/pull/151
More information about the jmc-dev
mailing list