Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21600

Fix failure on TestDublinCoreStorage.testCopyDocument on mysql

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 8.10
    • Fix Version/s: None
    • Component/s: Core VCS

      Description

      see https://qa2.nuxeo.org/jenkins/job/8.10/job/nuxeo-8.10-fullbuild-multidb-linux-relax/lastCompletedBuild/Slave=MULTIDB_LINUX_810,dbprofile=mysql,jdk=java-8-oracle/testReport/org.nuxeo.ecm.platform.dublincore/TestDublinCoreStorage/testCopyDocument/

      java.lang.AssertionError: expected:<java.util.GregorianCalendar[time=1486537224000,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Etc/UTC",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2017,MONTH=1,WEEK_OF_YEAR=6,WEEK_OF_MONTH=2,DAY_OF_MONTH=8,DAY_OF_YEAR=39,DAY_OF_WEEK=4,DAY_OF_WEEK_IN_MONTH=2,AM_PM=0,HOUR=7,HOUR_OF_DAY=7,MINUTE=0,SECOND=24,MILLISECOND=0,ZONE_OFFSET=0,DST_OFFSET=0]> but was:<java.util.GregorianCalendar[time=1486537225000,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Etc/UTC",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2017,MONTH=1,WEEK_OF_YEAR=6,WEEK_OF_MONTH=2,DAY_OF_MONTH=8,DAY_OF_YEAR=39,DAY_OF_WEEK=4,DAY_OF_WEEK_IN_MONTH=2,AM_PM=0,HOUR=7,HOUR_OF_DAY=7,MINUTE=0,SECOND=25,MILLISECOND=0,ZONE_OFFSET=0,DST_OFFSET=0]>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.nuxeo.ecm.core.test.StorageConfiguration.assertEqualsTimestamp(StorageConfiguration.java:372)
      	at org.nuxeo.ecm.platform.dublincore.TestDublinCoreStorage.assertEqualsCalendar(TestDublinCoreStorage.java:411)
      	at org.nuxeo.ecm.platform.dublincore.TestDublinCoreStorage.testCopyDocument(TestDublinCoreStorage.java:377)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h