Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320412 - [Regression] 2 test failures in SDO TCK
Summary: [Regression] 2 test failures in SDO TCK
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 315478
Blocks:
  Show dependency tree
 
Reported: 2010-07-20 12:04 EDT by Edwin Tang CLA
Modified: 2022-06-09 10:19 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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