Hi Mark,

This is odd.

The build succeeded on the Jenkins CI server.

Please can you go to the project directory and manually run a build.
$ cd component/objectstore/sql/sql-tests-common/
$ mvn test

You should get some output to the console along the lines of:
00:13:13,722  [SqlIntegrationTestData main       INFO ]  Test: testDate() 
'2010-3-5' = 1267747200000
00:13:13,722  [SqlIntegrationTestData main       INFO ]  applibDate.dateValue() 
as String: 2010-03-05
00:13:13,722  [SqlIntegrationTestData main       INFO ]  applibDate.dateValue() 
as Long: 1267747200000
00:13:13,723  [SqlIntegrationTestData main       INFO ]  sqlDataClass.getDate() 
as String: 2010-03-05
00:13:13,723  [SqlIntegrationTestData main       INFO ]  
sqlDataClass.getDate().getTime() as Long: 1267747200000
00:13:13,723  [SqlIntegrationTestData main       INFO ]  Test: testSqlDate() 
'2011-4-8' == 1302220800000
00:13:13,723  [SqlIntegrationTestData main       INFO ]  sqlDate.toString() as 
String:2010-04-08
00:13:13,723  [SqlIntegrationTestData main       INFO ]  sqlDate.getTime() as 
Long:1270684800000
00:13:13,724  [SqlIntegrationTestData main       INFO ]  
sqlDataClass.getSqlDate() as String:2010-04-08
00:13:13,724  [SqlIntegrationTestData main       INFO ]  
sqlDataClass.getSqlDate().getTime() as Long:1270684800000
00:13:13,728  [SqlIntegrationTestData main       INFO ]  Test: testDateTime()
00:13:13,734  [SqlIntegrationTestData main       INFO ]  
sqlDataClass.getDateTime() as String:2010-03-05 01:23
00:13:13,734  [SqlIntegrationTestData main       INFO ]  dateTime.toString() as 
String:2010-03-05 01:23
00:13:13,734  [SqlIntegrationTestData main       INFO ]  
sqlDataClass.getDateTime().getTime() as Long:1267752180000
00:13:13,734  [SqlIntegrationTestData main       INFO ]  dateTime.getTime() as 
Long:1267752180000

Those "Longs" are the expected values.

As I mentioned before, if you can't get the tests to pass (I can provide 
some hints, if you need the functionality), you can just disable the test 
failure from being a problem by editting the pom.xml and chaning the 
"false" to a "true" in line 53:
<testFailureIgnore>false</testFailureIgnore>


Regards,
Kevin

On 10 Feb 2013 at 11:11, Mark Wood-Patrick wrote:

> In trying to build the latest Isis source code from:
> 
>         git clone git://git.apache.org/isis.git
> 
> I get this failure
> 
>         Results :
> 
>   testTestAll(org.apache.isis.objectstore.sql.HsqlTest): Applib date: Test 
> '2010-3-5', expected 2010-03-05, but got 2010-03-03. Check log for more info.
> 
> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0
> 
> There are no more details in the log file anyone know what the issue might 
> be? I'm building on CentOS release 5.7 (Final)
> 
> Mark Wood-Patrick
> 

Reply via email to