The problem was with junit too. Each test was taking 5+ seconds.

Seems like it was a dns lookup problem.
https://stackoverflow.com/questions/39636792/jvm-takes-a-long-time-to-resolve-ip-address-for-localhost

I fixed it by changing my hosts file:
127.0.0.1       localhost MacBook-Pro.local

Now it’s very fast.

Not sure why this suddenly turned up...

> On Jan 5, 2022, at 8:13 AM, Yishay Weiss <yishayj...@hotmail.com> wrote:
> 
> Maybe antivirus is stressed over log4j due to exposed [1] vulnerability?
> 
> [1] What is the log4j vulnerability and should I do anything to protect 
> myself? - The Washington 
> Post<https://www.washingtonpost.com/technology/2021/12/20/log4j-hack-vulnerability-java/>
> 
> From: Harbs<mailto:harbs.li...@gmail.com>
> Sent: Wednesday, January 5, 2022 8:04 AM
> To: dev@royale.apache.org<mailto:dev@royale.apache.org>
> Subject: Re: Weird issue
> 
> It’s slow when running both the swf tests and the js tests.
> 
> And it’s not just XML.
> 
> I don’t know if it’s related, but I’m getting this from royaleunit:
> [royaleunit] Setting up server process ...
> [royaleunit] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> [royaleunit] SLF4J: Defaulting to no-operation (NOP) logger implementation
> [royaleunit] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder 
> for further details.
> [royaleunit] Starting server ...
> [royaleunit] Waiting for client connection ...
> 
>> On Jan 5, 2022, at 7:44 AM, Harbs <harbs.li...@gmail.com> wrote:
>> 
>> All of the sudden the XML tests on my laptop started taking a REALLY LONG 
>> time. To the point where they are timing out.
>> 
>> The Basic tests run pretty quickly. I am clueless as to what changed.
>> 
>> Any ideas on what could have happened and/or how to figure it out?
>> 
>> Thanks,
>> Harbs
> 

Reply via email to