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

Íñigo Goiri commented on HDFS-14974:
------------------------------------

Thanks [~brahmareddy], I don't think we need to use the scanning that 
ServerSocketUtil does.
We can rely on :0 which will get us a free port.
All the tests are prepared to run in any port.
The results show all of them run as expected.

> RBF: Make tests use free ports
> ------------------------------
>
>                 Key: HDFS-14974
>                 URL: https://issues.apache.org/jira/browse/HDFS-14974
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Íñigo Goiri
>            Assignee: Íñigo Goiri
>            Priority: Major
>         Attachments: HDFS-14974.000.patch
>
>
> Currently, {{TestRouterSecurityManager#testCreateCredentials}} create a 
> Router with the default ports. However, these ports might be used. We should 
> set it to :0 for it to be assigned dynamically.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to