Turns out that if you're missing /etc/hosts entries for your machine's host
name, then InetAddress.getLocalHost() needs to do a lot of DNS lookups to
determine what IP addresses are associated to your hostname. If you're on
IPv6, this could end up as a rather large list, too, which takes a while to
look them up the first time. Considering
LoggerContext.setConfiguration(Configuration) calls this method, it can
significantly increase test execution time if you don't have an /etc/hosts
entry for your computer.

-- 
Matt Sicker <boa...@gmail.com>

Reply via email to