You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2019/07/05 10:24:01 UTC

[jira] [Created] (QPID-8338) [Broker-J] [7.0.x] Prevent test failures due to slow initialisation of hostname resolution in HostnameAliasImpl

Alex Rudyy created QPID-8338:
--------------------------------

             Summary: [Broker-J] [7.0.x] Prevent test failures due to slow initialisation of hostname resolution in HostnameAliasImpl
                 Key: QPID-8338
                 URL: https://issues.apache.org/jira/browse/QPID-8338
             Project: Qpid
          Issue Type: Improvement
          Components: Broker-J
            Reporter: Alex Rudyy
             Fix For: qpid-java-broker-7.1.0


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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org