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

Fix random failure on TestReindex.shouldReindexDocument

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.2-SNAPSHOT
    • Fix Version/s: None
    • Component/s: Elasticsearch

      Description

      org.nuxeo.elasticsearch.test.TestReindex.shouldReindexDocument

      expected:<48> but was:<41>
      java.lang.AssertionError: expected:<48> but was:<41>
      	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.elasticsearch.test.TestReindex.shouldReindexDocument(TestReindex.java:143)
      

      This is due to NXP-16474 taggedVersionListener post commit listener timed out and generates indexing command after the awaitCompletion check.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bdelbosc Benoit Delbosc
                Reporter:
                bdelbosc Benoit Delbosc
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: