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

Provenance TestEventIndexTask is Unstable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-M4
    • 2.0.0
    • Core Framework
    • None

    Description

      The TestEventIndexTask has a test method testIndexWriterCommittedWhenAppropriate that often fails in local multi-thread builds on Ubuntu Linux. The test method asserts an expected completion in 5 seconds. This works in some circumstances, but often fails by a second or two on multi-threaded Maven builds due to resource contention.

      Increasing the timeout value to be more lenient should provide greater stability.

      [ERROR] Failures: 
      [ERROR]   TestEventIndexTask.testIndexWriterCommittedWhenAppropriate:47 execution exceeded timeout of 5000 ms by 1791 ms
      

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              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