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

Fix randomly-failing testFulltextReindexOnCreateDelete

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10-HF19, 8.10-HF01, 9.1
    • Component/s: Tests

      Description

      TestSQLRepositoryFulltextQuery.testFulltextReindexOnCreateDelete may randomly fail with:

      java.lang.AssertionError: expected:<[sessionSaved=1]> but was:<[transientStoreGCStart=1, sessionSaved=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:144)
      	at org.nuxeo.ecm.core.TestSQLRepositoryFulltextQuery.assertEventSet(TestSQLRepositoryFulltextQuery.java:150)
      	at org.nuxeo.ecm.core.TestSQLRepositoryFulltextQuery.testFulltextReindexOnCreateDelete(TestSQLRepositoryFulltextQuery.java:999)
      

      The scheduler transientStoreGC should be excluded during the test.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: