On Sun, Sep 1, 2024 at 6:01 PM Piotr P. Karwasz <piotr.karw...@gmail.com> wrote: > > 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]).
Ah... good one! I'll try again with: sh mvnw -Prelease verify artifact:compare -Dreference.repo=$NEXUS_REPO -Dtest='!NetUtilsTest#testCanonicalHostName' -Dsurefire.failIfNoSpecifiedTests=false ... TY! Gary > > Piotr > > [1] > https://github.com/apache/logging-log4j2/commit/84ca9bd246b83e5c93d59c92acbd180022e0747f