Hi Gary,

On Sun, 1 Sept 2024 at 23:34, Gary Gregory <garydgreg...@gmail.com> wrote:
> Now I get:
>
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR]   NetUtilsTest.testCanonicalHostName:78
> Expecting actual:
>   "localhost"
> to contain:
>   "."
> [INFO]
> [ERROR] Tests run: 2253, Failures: 1, Errors: 0, Skipped: 31
> [INFO]
>
> ?

Oops, that might happen on some hosts, if they don't have a fully
qualified domain name. Is `hostname --fqdn` also returning `localhost`
on your machine.

In the future I will disable the test on such a host (cf. [1]).

Piotr

[1] 
https://github.com/apache/logging-log4j2/commit/84ca9bd246b83e5c93d59c92acbd180022e0747f

Reply via email to