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

Fix random failure on TestGetChangeSummary.testGetChangesSummary on mysql

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.10
    • Fix Version/s: 8.10-HF01
    • Component/s: Nuxeo Drive, Tests

      Description

      See https://qa2.nuxeo.org/jenkins/job/8.10/job/nuxeo-8.10-fullbuild-multidb-linux-relax/82/Slave=MULTIDB_LINUX_810,dbprofile=mysql,jdk=java-8-oracle/testReport/junit/org.nuxeo.drive.operations/TestGetChangeSummary/testGetChangesSummary/

      java.lang.AssertionError: expected:<2> but was:<1>
      	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:555)
      	at org.junit.Assert.assertEquals(Assert.java:542)
      	at org.nuxeo.drive.operations.TestGetChangeSummary.testGetChangesSummary(TestGetChangeSummary.java:131)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

      The problem does not occur on master where the milliseconds are stored in the database.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 3 hours, 15 minutes
                  3h 15m