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

(cherry picked from commit cb7f4f1971)

Co-authored-by: Matt Clay <matt@mystile.com>
pull/74519/head
Matt Clay 4 years ago
parent 115e5998f4
commit 768c165a84

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

@ -1403,7 +1403,6 @@ def run_pypi_proxy(args): # type: (EnvironmentConfig) -> t.Tuple[t.Optional[str
options = [ options = [
'--detach', '--detach',
'-p', '%d:%d' % (port, port),
] ]
docker_pull(args, proxy_image) docker_pull(args, proxy_image)

Loading…
Cancel
Save