qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Rudyy (Jira)" <j...@apache.org>
Subject [jira] [Closed] (QPID-8338) [Broker-J] [7.0.x] Prevent test failures due to slow initialisation of hostname resolution in HostnameAliasImpl
Date Fri, 03 Apr 2020 14:57:00 GMT

     [ https://issues.apache.org/jira/browse/QPID-8338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Rudyy closed QPID-8338.
----------------------------

> [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
(v8.3.4#803005)

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


Mime
View raw message