Le 5/2/12 5:33 PM, Niklas Gustavsson a écrit :
On Wed, May 2, 2012 at 5:19 PM, Francesco Chicchiriccò
<[email protected]>  wrote:
we are experiencing repeated failures on Windows probably due to few zombie
processes belonging to some former build.

As you can see from [1], in fact, ports 8082 and 9080 are already in use.

I personally don't understand how this could happen: every build, even with
failures should always exit cleanly, but the situation needs some manual
intervention in order to kill such zombie processes.

Thanks for your support.
Regards.

[1]
https://builds.apache.org/job/Syncope-windows/ws/core/target/log/cargo-output.log
Should be fixed now. But, I would argue that it's never a good idea to
run tests on fixed ports. You're running in a shared environment (or
on some random developer's box) where you can never know that these
ports are available. Instead, if at all possible, let the OS pick a
free port for you.

/niklas
Hi Niklas,

I totally agree with that. One thing to consider though : using port 0 to get Tomcat to pick a random port might lead to many ports remaining opened, if the cleanup is not done correctly...

--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to