[
https://issues.apache.org/jira/browse/NIFI-12101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17768090#comment-17768090
]
ASF subversion and git services commented on NIFI-12101:
--------------------------------------------------------
Commit 713be8b539f93d1b998aa187cdba178a7c46f155 in nifi's branch
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=713be8b539 ]
NIFI-12101: This closes #7768. Fixed bugs that caused
StatelessBasicsIT.testChangeFlowVersion to fail. There were a couple of related
issues. Firstly, for Stateless Groups we were not waiting for the group to
fully stop before attempting to update the flow but were waiting only for
child/descendant groups to stop. This was due to misleading naming in the
ProcessGroupUpdateStrategy enum. Renamed enum values to more clearly convey
what they mean. Additionally, renamed the enum to more clearly convey what how
it is used, since it is used not only for updating groups but also for
retrieving groups. Additionally, when waiting for stateless groups to stop, we
inadvertently checked the Set of affectedComponents' IDs against Process Group
IDs so addressed the logic there and also ensured that we were consistent in
setting the AffectedComponentEntity's ProcessGroup (i.e., its
ProcessGroupNameDTO) as we were inconsistently setting it across the codebase.
Fixed issue in logic of LocalComponentLifecycle, which was waiting for all PGs
to reach desired stateless run schedule, even when the group itself was not
stateless
Fixed JavaScript to specify correct value for recursivity when updating process
group parameter context
> System Test StatelessBasicsIT.testChangeFlowVersion failing frequently
> ----------------------------------------------------------------------
>
> Key: NIFI-12101
> URL: https://issues.apache.org/jira/browse/NIFI-12101
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 1.latest, 2.latest
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> This test is failing intermittently but seems to be very frequent. Need to
> address the issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)