itplr-kosit / validator

Validates XML documents with XML Schema and Schematron
Apache License 2.0
77 stars 40 forks source link

'mvn test' fails ConfigurationBuilderTest when run in US Pacific time zone #59

Open plexilcrf opened 4 years ago

plexilcrf commented 4 years ago

On macOS 10.15.7, Java version 1.8.0_261, in the US Pacific time zone (-0700):

Executing 'mvn test' from a clean clone of tag v1.4.0 results in the following error:

[ERROR] Failures: 
[ERROR]   ConfigurationBuilderTest.testDate:99 expected:<"19[70-01-0]1"> but was:<"19[69-12-3]1">

If I had to guess, I would imagine this has to do with the time zone in which the test is run.

apenski commented 4 years ago

yes, indeed.