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

Unit test timeout value too short for systems with slow disks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.26.0, 2.0.0-M3
    • Tools and Build
    • None

    Description

      When building NiFi on a VM with relatively old disks, a unit test consistently fails due timing out. The unit test in question is:

      TestStandardFlowFileQueue.testListFlowFilesResultsLimitedCollection

      Extend the timeout from 5 sec to 10 sec. The value of 10 allows consistent passing of this unit test. On systems with faster disks, this increase in timeout will be inconsequential, i.e. will not slow down the build. Yet, the extension will allow compilation on older systems.

       

      Attachments

        Issue Links

          Activity

            People

              markbean Mark Bean
              markbean Mark Bean
              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