[
https://issues.apache.org/jira/browse/NIFI-454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14589697#comment-14589697
]
ASF subversion and git services commented on NIFI-454:
------------------------------------------------------
Commit 315af02c595fdf62881b839f44227d121cbda46d in incubator-nifi's branch
refs/heads/develop from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;h=315af02 ]
NIFI-454: Use random ports instead of specific ports for running unit tests;
updated abstract class and interface to expose the port being used
> Distributed cache server unit tests should use random ports
> -----------------------------------------------------------
>
> Key: NIFI-454
> URL: https://issues.apache.org/jira/browse/NIFI-454
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions, Tools and Build
> Reporter: Mark Payne
> Assignee: Mark Payne
> Labels: beginner
> Fix For: 0.2.0
>
> Attachments:
> 0001-NIFI-454-Use-random-ports-instead-of-specific-ports-.patch
>
>
> the distributed-map-cache-server (and maybe the distributed-set-cache-server)
> have unit tests that start the servers but don't set the port. The tests
> should be updated to set the port to 0 so that it will use a random port.
> This means that the service implementation will also need to expose the port
> that it's listening on so that the unit tests can know the port.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)