pvillard31 commented on PR #10238: URL: https://github.com/apache/nifi/pull/10238#issuecomment-3221041561
Understood what was happening... When running locally, things are done really fast so, even though there is a 2 nodes cluster, the state is updated at the same time by the processor on each node leading to state value of 1. In Github testing, the processor instances are likely not executing at the exact same time so each instance on each node increments the state once, leading to a value of 2. Given what we want to test here, I just used the PrimaryNodeOnly annotation to solve the problem and we still have the appropriate testing of the new feature. -- 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]
