renjin
renjin copied to clipboard
Tests in TimeTest are local-sensitive
Expected: "2009-07-01 HST" Actual: "2009-07-01 -10:00"
/cc @beattyk1 @hannesmuehleisen Does this test fail on your machine as well? On the master branch?
@psolaimani What do we want to do about this? Is this something we fix or leave as platform-dependent?
I haven't figured out how to resolve this yet, but if no packages are failing due to this issue we better focus on other issues first.
An issue that breaks Renjin itself is a priority ! :-)
A few findings:
According to the JavaDocs for the Joda time zone library we use, the time zone short name is locale-specific.
Indeed, if I open a fresh terminal and run
LC_TIME=nl_NL.utf8
mvn clean install
Then I can I get the error as well. This is probably what lead to the error on @psolaimani's machine.
@psolaimani can you try building from source now? Can you verify that all tests pass?
For the time being, @psolaimani can you mark the tests that are failing on your machine as @Ignore
d so that the build doesn't break randomly for those with non-English locale?