unit test failures

Bill Smith <[email protected]> Tue, 27 Mar 2012 12:49:32 -0500
Newsgroups gmane.comp.java.grinder.devel
Message-ID <CAKyDFRxwFj_ff7Kcm+F8TMKx55ytK6FNmNj=WwsOwdXjMsVq+Q@mail.gmail.com>
I noticed two unit test failures in grinder.http.  Both fail in the same
way: they try to open a socket on a restricted port (port 222) and expect
to catch an java.net.UnknownHostException, when in fact the exception
is java.net.BindException.

The tests are:
 * net.grinder.tools.tcpproxy.TestHTTPProxyTCPProxyEngine/testBadLocalPort
and
 *
net.grinder.tools.tcpproxy.TestPortForwarderTCPProxyEngine/testBadLocalPort.


Observed this in release_3.8 with JRE 1.6 on Linux.

Bill

P.S. Nice to see unit tests in the project.

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure

_______________________________________________
Grinder-development mailing list
Grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/grinder-development