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

ASF GitHub Bot commented on FLUME-199:
--------------------------------------

GitHub user andrasbeni opened a pull request:

    https://github.com/apache/flume/pull/124

    FLUME-199 Remove hardcoded ports from unit tests

    Many unit tests use hardcoded port numbers. This causes problems when 
running builds in parallel.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/andrasbeni/flume FLUME-199

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flume/pull/124.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #124
    
----

----


> 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: 1.5.0.1
>            Reporter: E. Sammer
>            Assignee: Santiago M. Mola
>            Priority: Minor
>
> 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.15#6346)

Reply via email to