pvillard31 commented on code in PR #11897:
URL: https://github.com/apache/nifi/pull/11897#discussion_r4536691040


##########
nifi-system-tests/nifi-system-test-suite/src/test/resources/conf/clustered/node1/nifi.properties:
##########
@@ -198,7 +198,7 @@ nifi.cluster.protocol.heartbeat.interval=2 sec
 # cluster node properties (only configure for cluster nodes) #
 nifi.cluster.is.node=true
 nifi.cluster.node.address=
-nifi.cluster.node.protocol.port=48101
+nifi.cluster.node.protocol.port=6351

Review Comment:
   Yes, this targets the `ClusteredConnectorAutoResumeIT` timeout. In the 
failing run, node 2 failed to restart with `java.net.BindException: Address 
already in use` when binding the cluster protocol listener on `48102`, even 
though its previous process had already exited. Ports 48101/48102 are the only 
system test ports within the default Linux ephemeral range (32768–60999), so an 
outbound connection from another process can be assigned that local port during 
restarts. The node then exits, and the startup wait previously kept polling 
until the 5 minute test timeout. Moving the protocol ports to 6351/6352 places 
them alongside the other test ports, outside the ephemeral range. I'm happy to 
add a comment in the properties files if that would help.



-- 
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]

Reply via email to