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

Intermittent Unit Test Failure in TestListFile.testFilterAge()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.27.0, 2.0.0-M4
    • 1.28.0, 2.0.0
    • None
    • None

    Description

      This unit test only works when execution speed is very fast. If there is more than a small fraction of a second delay while the unit test is running, then it intermittently gives a false assertion failure even though the ListFile.java class is unchanged and correct. I will make the unit test more robust by making larger time differences between the test objects.

      Attachments

        Issue Links

          Activity

            People

              jrsteinebrey Jim Steinebrey
              jrsteinebrey Jim Steinebrey
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 40m
                  40m