[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grinder-development
Subject:    [Grinder-development] unit test failures
From:       Bill Smith <william.m.smith () gmail ! com>
Date:       2012-03-27 17:49:32
Message-ID: CAKyDFRxwFj_ff7Kcm+F8TMKx55ytK6FNmNj=WwsOwdXjMsVq+Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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.

[Attachment #5 (text/html)]

I noticed two unit test failures in grinder.http. =A0Both fail in the same =
way: they try to open a socket on a restricted port (port 222) and expect t=
o catch an java.net.UnknownHostException, when in fact the exception is=A0j=
ava.net.BindException.<div>
<br></div><div>The tests are:</div><div>=A0* net.grinder.tools.tcpproxy.Tes=
tHTTPProxyTCPProxyEngine/testBadLocalPort and</div><div>=A0* net.grinder.to=
ols.tcpproxy.TestPortForwarderTCPProxyEngine/testBadLocalPort. =A0</div><di=
v>
<br></div><div>Observed this in release_3.8 with JRE 1.6 on Linux.</div><di=
v><br></div><div>Bill</div><div><br></div><div>P.S. Nice to see unit tests =
in the project.</div>


------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-development


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic