harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Deakin <oliver.dea...@googlemail.com>
Subject Re: [testing][nio] 2 tests fail on the SUSE linux
Date Tue, 14 Nov 2006 14:46:41 GMT
+1

Tim Ellison wrote:
> Jimmy, Jing Lv wrote:
>   
>> However IMO it was "Support_PortManager.getNextPort()" cause the
>> problem. This method, as we already know, is unsafe. Thus the test is
>> not stable sometimes, though it appears in-frequently.
>>     
>
> Agreed, I've mentioned this before.
>
>   
>> We may find a way to fix it, e.g, try to bind to an available port,
>> check if successful.
>>     
>
> The tests should be modified to bind to port zero and let the OS
> allocate the next available port.
>
> Regards,
> Tim
>
>   

-- 
Oliver Deakin
IBM United Kingdom Limited


Mime
View raw message