Failed running DateTests on different timezone
Closed this issue · 0 comments
daniarherikurniawan commented
Any timezone sensitive test case should accommodate the possibility of running the test on another timezone. I am currently in Chicago, CDT, which is two hours ahead of PDT. Here is the error trace:
[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.759 s <<< FAILURE! - in org.hillview.test.dataStructures.DateTests
[ERROR] testTZ(org.hillview.test.dataStructures.DateTests) Time elapsed: 0.002 s <<< FAILURE!
java.lang.AssertionError: expected:<2010-12-27T18:50:44Z> but was:<2010-12-27T16:50:44Z>
at org.hillview.test.dataStructures.DateTests.testTZ(DateTests.java:99)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] DateTests.testTZ:99 expected:<2010-12-27T18:50:44Z> but was:<2010-12-27T16:50:44Z>