Fix unit test for bindOnInit.
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 12 Jun 2011 15:47:53 +0000 (15:47 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 12 Jun 2011 15:47:53 +0000 (15:47 +0000)
commit9e00669b4604d31299d309ad22116d352acae10f
tree6e3c1c17fd2ed766791ab6924dcc472b2ab1dc80
parentb08a190e6c1b92f4a2a1c48bb061602bf6bd30fc
Fix unit test for bindOnInit.

Test failed when Java was binding sockets using
IPv4 and APR using IPv6. Since the connector
uses APR, and the test socket Java, both could bind
at the same time.

Observed on Solaris 10 Sparc.

Fixed by also uding APR to bind the test socket.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1134938 13f79535-47bb-0310-9956-ffa450edef68
test/org/apache/tomcat/util/net/TestXxxEndpoint.java
webapps/docs/changelog.xml