diff --git a/changelogs/fragments/ansible-test-pypi-container-no-publish.yml b/changelogs/fragments/ansible-test-pypi-container-no-publish.yml new file mode 100644 index 00000000000..7b753ea93c5 --- /dev/null +++ b/changelogs/fragments/ansible-test-pypi-container-no-publish.yml @@ -0,0 +1,3 @@ +bugfixes: + - ansible-test - Avoid publishing the port used by the ``pypi-test-container`` since it is only accessed by other containers. + This avoids issues when trying to run tests in parallel on a single host. diff --git a/test/lib/ansible_test/_internal/executor.py b/test/lib/ansible_test/_internal/executor.py index 22e3c2922ca..79065ca1634 100644 --- a/test/lib/ansible_test/_internal/executor.py +++ b/test/lib/ansible_test/_internal/executor.py @@ -1403,7 +1403,6 @@ def run_pypi_proxy(args): # type: (EnvironmentConfig) -> t.Tuple[t.Optional[str options = [ '--detach', - '-p', '%d:%d' % (port, port), ] docker_pull(args, proxy_image)