harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [testing][nio] 2 tests fail on the SUSE linux
Date Tue, 14 Nov 2006 03:37:41 GMT
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

-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

Mime
View raw message