Why do we need to call get local host in setConfiguration? On Jan 8, 2017 12:32 AM, "Matt Sicker" <boa...@gmail.com> wrote:
> 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> >