Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7185

TestLuceneEventIndex is an unreliable test

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0, 1.11.4
    • Extensions, Tools and Build
    • None

    Description

      [ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.363 s <<< FAILURE! - in org.apache.nifi.provenance.index.lucene.TestLuceneEventIndex
      [ERROR] testUnauthorizedEventsGetPlaceholdersForExpandChildren(org.apache.nifi.provenance.index.lucene.TestLuceneEventIndex) Time elapsed: 0.097 s <<< FAILURE!
      java.lang.AssertionError: expected:<5> but was:<8>
      at org.apache.nifi.provenance.index.lucene.TestLuceneEventIndex.testUnauthorizedEventsGetPlaceholdersForExpandChildren(TestLuceneEventIndex.java:234)

      [ERROR] Failures:
      [ERROR] TestLuceneEventIndex.testUnauthorizedEventsGetPlaceholdersForExpandChildren:234 expected:<5> but was:<8>
      [ERROR] Tests run: 85, Failures: 1, Errors: 0, Skipped: 9
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project nifi-persistent-provenance-repository: There are test failures.
      [ERROR]

      Attachments

        Issue Links

          Activity

            People

              joewitt Joe Witt
              joewitt Joe Witt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m