[ 
https://issues.apache.org/jira/browse/BEAM-7027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ismaël Mejía updated BEAM-7027:
-------------------------------
    Description: Most IO tests include a snippet to find the number of an 
available local port. This code could be shared by all IO tests. Also adding 
synchronization may help prevent some port conflict issues in parallel runs.  
(was: IO tests get the port of the next free port via ServerSocket however when 
the tests run in parallel it could be the case that two build threads get the 
same port number assigned causing a conflict. We should create a synchronized 
method to fix this and use it in all IO tests that require to assign a local 
port.)

> Add a method to assign available local ports to io-common and use it in IO 
> tests
> --------------------------------------------------------------------------------
>
>                 Key: BEAM-7027
>                 URL: https://issues.apache.org/jira/browse/BEAM-7027
>             Project: Beam
>          Issue Type: Test
>          Components: io-java-utilities
>            Reporter: Ismaël Mejía
>            Assignee: Ismaël Mejía
>            Priority: Major
>
> Most IO tests include a snippet to find the number of an available local 
> port. This code could be shared by all IO tests. Also adding synchronization 
> may help prevent some port conflict issues in parallel runs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to