Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320412

Summary: [Regression] 2 test failures in SDO TCK
Product: z_Archived Reporter: Edwin Tang <edwin.tang>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: david.twelves, eclipselink.sdo-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 315478    
Bug Blocks:    

Description Edwin Tang CLA 2010-07-20 12:04:31 EDT
This is a regression.

With 2.1.1.v20100712-r7781, testDateBasedConversions and testToDateRoundtrip in SDO TCK failed. It is related to Rick's txn on revision 7781.

Error Message for testDateBasedConversions
==========================================
Converting from DateTime to DateTime. Comparing control='-2006-03-31T03:30:45.001Z' to test='2007-03-31T03:30:45.001Z'. expected:<2006> but was:<2007>

junit.framework.AssertionFailedError: Converting from DateTime to DateTime. Comparing control='-2006-03-31T03:30:45.001Z' to test='2007-03-31T03:30:45.001Z'. expected:<2006> but was:<2007>
at com.ibm.sdo.tck.tests.helpers.DataHelperTest.compareFields(Unknown Source)
at com.ibm.sdo.tck.tests.helpers.DataHelperTest.testDateBasedConversions(Unknown Source)

Error Message for testToDateRoundtrip 
=====================================
DataHelper.toDate() failed to round-trip back to original format for control value '-2006-03-31T03:30:45.001Z'. The conversion type is 'DateTime'. expected:<[-2006]-03-31T03:30:45.001Z> but was:<[2007]-03-31T03:30:45.001Z>

at com.ibm.sdo.tck.tests.helpers.DataHelperTest.Roundtrips(Unknown Source)
at com.ibm.sdo.tck.tests.helpers.DataHelperTest.testToDateRoundtrip(Unknown Source)
Comment 1 Rick Barkhouse CLA 2010-07-20 15:11:21 EDT
Base bug fixed.
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:19:08 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink