Paul Grey created NIFI-9751:
-------------------------------
Summary: Poll as needed during system-tests to ensure expected
server state
Key: NIFI-9751
URL: https://issues.apache.org/jira/browse/NIFI-9751
Project: Apache NiFi
Issue Type: Improvement
Reporter: Paul Grey
Assignee: Paul Grey
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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)