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

Fix random test failure testQuerySpecialFieldsVersioning

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.2
    • Component/s: Core, Core DBS, Tests

      Description

      On very fast machines & databases, this test fails because two versions are created in the same millisecond:

      java.lang.AssertionError: expected:<[3ccc5166-e968-4216-b2b6-64783ceed720, f39893a4-f132-4533-9117-2db053609c87, c6de845e-84f8-482f-8dc0-2b33f47f454a, eecdee8d-2ea9-488f-8527-ac4b0e08d778]> but was:<[3ccc5166-e968-4216-b2b6-64783ceed720, c6de845e-84f8-482f-8dc0-2b33f47f454a, eecdee8d-2ea9-488f-8527-ac4b0e08d778, bd778e1f-1443-4f39-9612-d8825b623307]>
      	at org.nuxeo.ecm.core.TestSQLRepositoryQuery.assertIdSet(TestSQLRepositoryQuery.java:1468)
      	at org.nuxeo.ecm.core.TestSQLRepositoryQuery.testQuerySpecialFieldsVersioning(TestSQLRepositoryQuery.java:1951)
      

      This is particularly visible on DBS Mem tests.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: