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

Poll as needed during system-tests to ensure expected server state

    XMLWordPrintableJSON

Details

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

    Description

      Certain system tests fail intermittently due to timing issues.

      One common problem observed involved the asynchronous nature of component updates. A component was updated and a command immediately followed. Under some conditions (github system-test workflow), command B was received before command A had been fully processed.

      Another issue was that polling was sometimes needed after an API call to verify that the state change occurred. A component "Stop", for example, might usually be processed immediately, supplying the expected state change in the API call response. Occasionally, this might not occur, thus requiring polling to verify the state change.

      Attachments

        Issue Links

          Activity

            People

              pgrey Paul Grey
              pgrey Paul Grey
              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 - 1h 50m
                  1h 50m