Details
-
Test
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.1.2-incubating
-
None
-
Hudson-ubuntu
Description
The Hudson build failed the applib Date and java.sql.date SqlDate with:
Error Message
SQL date 2010-04-09 is not equal to 2010-04-08
Stacktrace
junit.framework.AssertionFailedError: SQL date 2010-04-09 is not equal to 2010-04-08
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at org.apache.isis.alternatives.objectstore.sql.common.SqlIntegrationTestCommon.testSqlDate(SqlIntegrationTestCommon.java:321)
and
Error Message
2010-3-5 is not equal to 2010-3-4
Stacktrace
junit.framework.AssertionFailedError: 2010-3-5 is not equal to 2010-3-4
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at org.apache.isis.alternatives.objectstore.sql.common.SqlIntegrationTestCommon.testDate(SqlIntegrationTestCommon.java:308)
It smacks of regional issues (stored and retrieved dates straddle midnight, when one side of the persistance uses one time-zone while the other side uses another).
Test used to pass.