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 c3755a7113a..5500c1cce05 100644 --- a/test/lib/ansible_test/_internal/executor.py +++ b/test/lib/ansible_test/_internal/executor.py @@ -1436,7 +1436,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)