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

(cherry picked from commit cb7f4f1971)

Co-authored-by: Matt Clay <matt@mystile.com>
pull/74441/head
Matt Clay 4 years ago
parent 2d931e101e
commit 405da50dc7

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

@ -1436,7 +1436,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