Partial fix for BZ 55381 and OSX

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1514237 13f79535-47bb-0310-9956-ffa450edef68
Fix non-blocking test failures on OSX when using APR.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1514239 13f79535-47bb-0310-9956-ffa450edef68