paasta icon indicating copy to clipboard operation
paasta copied to clipboard

Test fails if port 1234 is in use on the test host

Open mtbentley opened this issue 7 years ago • 1 comments

I had znc set up to listen on port 1234, causing test_run_docker_container_with_user_specified_port to fail with The chosen port is already in use!.

I don't know if this should be fixed (by looking for an unused port first) or documented somewhere.

mtbentley avatar Jun 06 '17 13:06 mtbentley

yeah, the test can be made more resilient by looking for a free port, rather than hardcoding one.

Rob-Johnson avatar Jun 06 '17 19:06 Rob-Johnson