Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] BUILD STATUS:: trunk nightly build has test failures!

This test failure is caused because MySQL handles only seconds granularity for time fields.  See org.eclipse.persistence.testing.tests.history.HistoryTestModel buildUpdateObjectTestSuite line 104:

 if(getSession().getPlatform().isMySQL()) {
                        if(internalException.getClass().getName().contains("MySQLIntegrityConstraintViolationException")) {
                            // two objects created / updated during the same second will have the same date/time representation
                            // in MySQL database column because on MySQL microseconds cannot be stored into a column of any temporal data type.
                            throw new TestWarningException("on MySQL microseconds cannot be stored into a column of any temporal data type, therefore the following exception occurred: ", internalException);

Also there is a separate bug for this issue:

So we could wrap the bug 319276 test in a HistoryTestModel$WrappedWriteObjectTest so it throws this warning and doesn't result in a test error or we could just fix 210270 which I'm happy to do and would be better in terms of allowing history support on MySQL too.


On 7/22/2010 12:39 PM, David Minsky wrote:
I'm currently looking into the test-core failures on MySQL from bug 319276

On 22/07/2010 3:25 AM, eric.gwin@xxxxxxxxxx wrote:
Build summary for 2.2.0.v20100722-r7887
Non-critical compilation issues (if any) repoted in
  Tests run:7495 Failures:0 Errors:3
  Tests run:2238 Failures:0 Errors:0
  Tests run:822 Failures:0 Errors:0
  Tests run:26010 Failures:0 Errors:0
  Tests run:4516 Failures:0 Errors:0
  Tests run:17 Failures:0 Errors:0
  Tests run:28 Failures:0 Errors:0

Build log: (/shared/rt/eclipselink/logs/bsb-trunk_nightly_100722-0005.log)
Test logs can be found on the download server at:
Build logs can be found on the download server at:

SVN Changes since Last Build:
r7887 | dminsky | 2010-07-21 17:08:16 -0400 (Wed, 21 Jul 2010)
Changed paths:
   M /trunk/foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/tests/queries/
   A /trunk/foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/tests/queries/
   M /trunk/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/queries/
r7885 | kyuan | 2010-07-21 10:57:42 -0400 (Wed, 21 Jul 2010)
Changed paths:
   M /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/fetchgroups/
   M /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/fieldaccess/fetchgroups/
eclipselink-dev mailing list


David Minsky | Senior Member of Technical Staff
Phone: +1 613 2884605
Oracle Oracle Server Technologies Sustaining Engineering
ORACLE Canada | 45 O'Connor Street, Ottawa, Ontario | K1P 1A4

          Oracle Oracle is committed to developing practices and products that help protect the environment

_______________________________________________ eclipselink-dev mailing list eclipselink-dev@xxxxxxxxxxx

Back to the top