Rob Godfrey created QPID-8150:
---------------------------------

             Summary: [Broker-J] Prevent test failures due to slow 
initialisation of hostname resolution in HostnameAliasImpl
                 Key: QPID-8150
                 URL: https://issues.apache.org/jira/browse/QPID-8150
             Project: Qpid
          Issue Type: Improvement
          Components: Broker-J
            Reporter: Rob Godfrey


On some operating systems / configurations (notably my laptop running OS X :) ) 
the resolution of potential hostnames which resolve to the local machine which 
takes place in {{HostnameAliasImpl}} can take a long time due to fruitless 
lookups.  This can cause various system tests to fail.

To prevent these failures
# Do not include the hostname virtual host alias where it is not needed in the 
system tests
# Reorder the list of {{InetAddress}} objects that are iterated over in the 
resolution phase so that addresses more likely to resolve (like the loopback 
interface) are processed first



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to