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

Ashish Paliwal commented on FLUME-199:
--------------------------------------

Lot of tests already use findAvailablePort() API to get the port to bind to. 
Can you elaborate what you intend to fix?

> Unit tests should hunt for available ports if defaults are in use
> -----------------------------------------------------------------
>
>                 Key: FLUME-199
>                 URL: https://issues.apache.org/jira/browse/FLUME-199
>             Project: Flume
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: v1.5.0.1
>            Reporter: E. Sammer
>            Assignee: Santiago M. Mola
>            Priority: Minor
>             Fix For: v1.6.0
>
>
> Currently, some of the unit tests fail if flume is running while tests are 
> running. This leads to false positives in failure detection and slows down 
> the dev cycle as one has to remember not to run flume while tests are in 
> progress. It would be an improvement to "hunt" for an open port if the 
> default port(s) are already in use during testing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to