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

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

    [ https://issues.apache.org/jira/browse/QPID-8338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879176#comment-16879176 ] 

Robbie Gemmell commented on QPID-8338:
--------------------------------------

For fix, see: https://gitbox.apache.org/repos/asf?p=qpid-broker-j.git;a=commit;h=39536fcaa3b5cce0a97a77a2221990624bb1efc9

> [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
>            Priority: Major
>             Fix For: qpid-java-broker-7.0.9
>
>
> 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