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

Zhitao Li commented on MESOS-7461:
----------------------------------

The issue with disk_full_framework.sh using fixed port is still there. I'll try 
to submit a fix by using some bash tricks to select a random unused port 
(ideally in ephemeral port range) instead (similar to 
https://stackoverflow.com/questions/6942097/finding-next-open-port)

[~andschwa], do we run these tests on windows build?

> balloon test and disk full framework test relies on possibly unavailable ports
> ------------------------------------------------------------------------------
>
>                 Key: MESOS-7461
>                 URL: https://issues.apache.org/jira/browse/MESOS-7461
>             Project: Mesos
>          Issue Type: Bug
>          Components: test
>            Reporter: Zhitao Li
>            Assignee: Zhitao Li
>            Priority: Major
>
> balloon_framework_test.sh and disk_full_framework_test.sh all have code to 
> directly listen at a {{5432}} port, but in our environment that port is 
> directly reserved by something else.
> A possible fix is to write some utility to try to find an unused port, and 
> try to use it for the master. It's not perfect though as there could still be 
> a race condition.
> Another possible fix if to move listen "port" to a domain socket, when that's 
> supported.



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

Reply via email to