Community
Participate
Working Groups
The Core LRG test model passes on the boxes used by most developers when running on MySQL. The Eclipse build server has a different setup - 64 bit linux IBM PPC VM This affects how some tests work and how the installed MySQL works. The following issues occur 1. Iterators iterate in a different order for Maps and Sets. This exposed a bug in EclipseLink and several bugs in the EclispeLink tests. - https://bugs.eclipse.org/bugs/show_bug.cgi?id=221530 - Several Multiple Table tests in the mapping test model fail because they iterate through the tables in the wrong order. This is because they alter the descriptors and do not reinitiailze them. 2. MySQL has different case sensitivity settings on this installation - 1 test failed because we do an unnecessary case conversion for MySQL - 2 tests failed because we issue SQL in lowercase and MySQL expects table names to be in upper case 3. A project class generation test that allows unicode to pass through the generation fails because our test criteria expects unicode to print a "?", but it does not on the ibm vm - likely because the test machine actually supports the unicode.
Created attachment 91917 [details] proposed fix
Fix is attached 1. Make Multiple Table tests properly initialize descriptors 2a. Change IntegrityChecker to not always convert case on MySQL 2b. Change some data read tests to use upper case for SQL 3. Remove a non-unicode test because I cannot figure out a way to detect what the expected result is
Checked in: Tested with Full Core LRG Run - no new tests added as these changes are made specifically to allow the current tests to run Reviewed by Chris Delahunt
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink