[ 
https://issues.apache.org/jira/browse/NIFI-8741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17376412#comment-17376412
 ] 

ASF subversion and git services commented on NIFI-8741:
-------------------------------------------------------

Commit 1de01e34daeb22e19fef88d5c9e26e19dc492fcd in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1de01e3 ]

NIFI-8741 Changed JettyServerGroovyTest to use 
NetworkUtils.getAvailableTcpPort()

Signed-off-by: Pierre Villard <[email protected]>

This closes #5200.


> Update tests to use an available ports instead of choosing specific ports
> -------------------------------------------------------------------------
>
>                 Key: NIFI-8741
>                 URL: https://issues.apache.org/jira/browse/NIFI-8741
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Tools and Build
>    Affects Versions: 1.13.2
>            Reporter: Nathan Gough
>            Assignee: David Handermann
>            Priority: Minor
>              Labels: port, test
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> JettyServerGroovyTest (which uses port 8443) failed on my machine because I 
> had a service running on that port. Update tests in NiFi to retrieve an 
> available port instead of attempting to bind to specific/common port values 
> which can cause intermittent issues.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to