You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (Closed) (JIRA)" <ji...@apache.org> on 2012/01/05 18:26:40 UTC

[jira] [Closed] (ISIS-80) Re-enable testDate and testSqlDate tests in the common object store test suite

     [ https://issues.apache.org/jira/browse/ISIS-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood closed ISIS-80.
---------------------------

    
> Re-enable testDate and testSqlDate tests in the common object store test suite
> ------------------------------------------------------------------------------
>
>                 Key: ISIS-80
>                 URL: https://issues.apache.org/jira/browse/ISIS-80
>             Project: Isis
>          Issue Type: Test
>          Components: Runtimes: Dflt: Objectstores: SQL
>    Affects Versions: 0.1.2-incubating
>         Environment: Hudson-ubuntu
>            Reporter: Kevin Meyer
>            Assignee: Kevin Meyer
>             Fix For: 0.2.0-incubating
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira