Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-1696

Clean up the condition checking in behavior-based tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.12.0

    Description

      In MiNiFi_integration_test_driver.py, two types of checks are mixed up:

      1. wait for x seconds, then check a condition, eg. check_for_no_files_generated
      2. wait for a condition to be satisfied, but at most x seconds, eg. check_for_at_least_one_file_with_content_generated

      Both types of checks try to use the same check_output function, which leads to a mess. These two, logically different, checks should use separate functions, which could then be much simpler.

      Attachments

        Activity

          People

            lordgamez Gábor Gyimesi
            fgerlits Ferenc Gerlits
            Votes:
            0 Vote for this issue
            Watchers:
            0 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 - 50m
                50m