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

Kevin Minder commented on KNOX-683:
-----------------------------------

The test 
gateway-test-release/webhdfs-kerb-test/src/test/java/org/apache/hadoop/gateway/SecureClusterTest.java
 still has a pre-allocation of a free port but there was no way to remove this 
without hard coding the port.  This may continue to cause problems but for now 
I'll leave this alone and see if this one remaining instances causes frequent 
failures.

> Test failing due to port conflicts
> ----------------------------------
>
>                 Key: KNOX-683
>                 URL: https://issues.apache.org/jira/browse/KNOX-683
>             Project: Apache Knox
>          Issue Type: Task
>          Components: Tests
>    Affects Versions: 0.9.0
>            Reporter: Kevin Minder
>            Assignee: Kevin Minder
>            Priority: Blocker
>             Fix For: 0.9.0
>
>
> Recently the tests have started failing intermittently but frequently due to 
> port conflicts.  The tests have always be written to try and find free ports 
> and then use them.  However it seems that recently between finding the free 
> ports and using them that these "free" ports are being used by some other 
> processes.  Therefore the tests need to be cleaned up to ensure there is no 
> time window between finding the free port and the server opening it.



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

Reply via email to