Fix pypi-test-container port conflict.

This commit is contained in:
Matt Clay 2021-04-26 13:27:06 -07:00
parent c1879a5011
commit cb7f4f1971
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

@ -1245,7 +1245,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)