Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
The ReportingTaskIT in nifi-system-test-suite has intermittent failures on GitHub automated builds. Polling for completion of Controller Service status changes prior to attempting changing the state should avoid the HTTP 409 Conflict error.
Error: Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 58.655 s <<< FAILURE! - in org.apache.nifi.tests.system.reportingtask.ReportingTaskIT Error: org.apache.nifi.tests.system.reportingtask.ReportingTaskIT.testReportingTaskDependingOnControllerService Time elapsed: 54.441 s <<< ERROR! org.apache.nifi.toolkit.cli.impl.client.nifi.NiFiClientException: Error enabling or disabling controller service: 1b53e9c8-0180-1000-3f55-7ff5553eeb63 cannot be disabled because it is referenced by 1 components that are currently running: [1b53ea60-0180-1000-2696-29cb61772d59] Caused by: javax.ws.rs.ClientErrorException: HTTP 409 Conflict