Actions
Bug #17199
closed[tests] Avoid random port conflicts when bringing up integration test services
Start date:
12/08/2020
Due date:
% Done:
100%
Estimated time:
(Total: 0.00 h)
Story points:
-
Release:
Release relationship:
Auto
Description
Occasionally this code in source:sdk/python/tests/run_test_server.py chooses the same port twice, which causes the test suite to fail:
def setup_config():
rails_api_port = find_available_port()
controller_port = find_available_port()
controller_external_port = find_available_port()
websocket_port = find_available_port()
websocket_external_port = find_available_port()
workbench1_port = find_available_port()
workbench1_external_port = find_available_port()
# ...
Actions