[stable-2.10] Fix pypi-test-container port conflict.

(cherry picked from commit cb7f4f1971)

Co-authored-by: Matt Clay <matt@mystile.com>
This commit is contained in:
Matt Clay 2021-04-26 13:27:06 -07:00
parent 115e5998f4
commit 768c165a84
2 changed files with 3 additions and 1 deletions

View file

@ -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.

View file

@ -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)