Browse code

[stable-2.9] Fix pypi-test-container port conflict. (cherry picked from commit cb7f4f19717e91930f695fe0be5adc6cacf5162f)

Co-authored-by: Matt Clay <matt@mystile.com>

Matt Clay authored on 2021/04/27 05:27:06
Showing 2 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,3 @@
0
+bugfixes:
1
+  - ansible-test - Avoid publishing the port used by the ``pypi-test-container`` since it is only accessed by other containers.
2
+                   This avoids issues when trying to run tests in parallel on a single host.
... ...
@@ -1298,7 +1298,6 @@ def run_pypi_proxy(args):  # type: (EnvironmentConfig) -> t.Tuple[t.Optional[str
1298 1298
 
1299 1299
     options = [
1300 1300
         '--detach',
1301
-        '-p', '%d:%d' % (port, port),
1302 1301
     ]
1303 1302
 
1304 1303
     docker_pull(args, proxy_image)