greyp9 commented on a change in pull request #5829:
URL: https://github.com/apache/nifi/pull/5829#discussion_r818232709
##########
File path:
nifi-system-tests/nifi-system-test-suite/src/test/java/org/apache/nifi/tests/system/NiFiClientUtil.java
##########
@@ -1256,7 +1256,7 @@ public ProvenanceEntity waitForComplete(final
ProvenanceEntity entity) throws In
verificationRequest.setRequest(requestDto);
VerifyConfigRequestEntity results =
nifiClient.getReportingTasksClient().submitConfigVerificationRequest(verificationRequest);
- while (!results.getRequest().isComplete()) {
+ while ((!results.getRequest().isComplete()) ||
(results.getRequest().getResults() == null)) {
Review comment:
This covers a transitory state where the server reports `COMPLETED`, but
before it had assembled the results.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]