harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko" <alexey.a.petre...@gmail.com>
Subject Re: [testing][nio] 2 tests fail on the SUSE linux
Date Tue, 14 Nov 2006 07:42:27 GMT
2006/11/14, Tim Ellison <t.p.ellison@gmail.com>:
> 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.
+1

Mime
View raw message