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

TestBulkProcessor#testSequentialAndExclusiveExecutions failing randomly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2021.x, 2023.x
    • Fix Version/s: 2021.45, 2023.5
    • Component/s: Bulk

      Description

      Randomly, the slowest execution is not sequential but concurrent here:
      https://github.com/nuxeo/nuxeo-lts/blob/2023/modules/core/nuxeo-core-test/src/test/java/org/nuxeo/ecm/core/bulk/TestBulkProcessor.java#L280

      This has been observed on 2023 but will certainly be seen on 2021.
      can be seen on the following pipeline:
      https://jenkins.platform.dev.nuxeo.com/blue/organizations/jenkins/nuxeo%2Flts%2Fnuxeo/detail/PR-1480/2/pipeline/245/

       [ERROR] Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.899 s <<< FAILURE! - in org.nuxeo.ecm.core.bulk.TestBulkProcessor
       [ERROR] testSequentialAndExclusiveExecutions(org.nuxeo.ecm.core.bulk.TestBulkProcessor)  Time elapsed: 3.677 s  <<< FAILURE!
       org.junit.ComparisonFailure: expected:<dummy[Sequential]> but was:<dummy[Concurrent]>
       	at org.junit.Assert.assertEquals(Assert.java:117)
       	at org.junit.Assert.assertEquals(Assert.java:146)
       	at org.nuxeo.ecm.core.bulk.TestBulkProcessor.testSequentialAndExclusiveExecutions(TestBulkProcessor.java:280)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: