[
https://issues.apache.org/jira/browse/NIFI-9793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17510094#comment-17510094
]
ASF subversion and git services commented on NIFI-9793:
-------------------------------------------------------
Commit 5928d2048ee9e9f8b4572832a12816bde5419e23 in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=5928d20 ]
NIFI-9793 Added wait for Controller Service run status in tests
- Added check for controller-level service run status in
disableControllerLevelServices to avoid HTTP 409 Conflict response when
attempting to delete services
This closes #5863
Signed-off-by: Paul Grey <[email protected]>
> System Integration Test Failure with HTTP 409
> ---------------------------------------------
>
> Key: NIFI-9793
> URL: https://issues.apache.org/jira/browse/NIFI-9793
> Project: Apache NiFi
> Issue Type: Bug
> Components: Tools and Build
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> System Integration tests for NiFi reported the following failure in a recent
> automated build on GitHub:
> {noformat}
> Error:
> org.apache.nifi.tests.system.verification.ClusteredVerifiableControllerServiceSystemIT.testVerificationWithValidConfigWhenComponentRunning
> Time elapsed: 1.096 s <<< ERROR!
> org.apache.nifi.toolkit.cli.impl.client.nifi.NiFiClientException: Error
> deleting Controller Service: Node localhost:5671 is unable to fulfill this
> request due to: Controller Service 85f6b66c-017f-1000-0000-000068457893
> cannot be deleted because it is not disabled
> Caused by: javax.ws.rs.ClientErrorException: HTTP 409 Conflict
> Error:
> ClusteredVerifiableControllerServiceSystemIT>NiFiSystemIT.teardown:126->NiFiSystemIT.destroyFlow:177
> ยป NiFiClient
> {noformat}
> The impacted portion of the test should be adjusted to retry when receiving a
> response with HTTP 409.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)