[
https://issues.apache.org/jira/browse/HADOOP-12417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14790709#comment-14790709
]
Haohui Mai commented on HADOOP-12417:
-------------------------------------
For tests I think it should always listen to port 0 which gives you an
ephemeral port.
> TestWebDelegationToken failing with port in use
> -----------------------------------------------
>
> Key: HADOOP-12417
> URL: https://issues.apache.org/jira/browse/HADOOP-12417
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Affects Versions: 3.0.0
> Environment: Jenkins
> Reporter: Steve Loughran
>
> The {{TestWebDelegationToken}} failed on Jenkins with port in use. It looks
> like the code searches for a free port and then starts jetty, but maybe
> there's enough of a race condition between port location and jetty.start to
> cause intermittent failures.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)