diff options
| author | Piotr Milewski <vurmil@gmail.com> | 2026-01-20 17:51:39 +0100 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2026-01-27 05:21:02 +0000 |
| commit | 22826c2ff3ee653ac8f3d931d3b11490567c1632 (patch) | |
| tree | af57db34c1917394dc723816845b944630a5305d /tests | |
| parent | 77e9d23a20fa39fe49f03210b6a20bc463c31078 (diff) | |
| download | kolla-ansible-22826c2ff3ee653ac8f3d931d3b11490567c1632.tar.gz kolla-ansible-22826c2ff3ee653ac8f3d931d3b11490567c1632.zip | |
tests: Change Selenium port from 4444 to 4500
The default Selenium port (4444) conflicts with MariaDB SST
(State Snapshot Transfer), which also uses port 4444. This
overlap caused intermittent test failures and MariaDB timeouts
during CI runs.
This commit shifts the Selenium standalone container to port 4500
to ensure environment stability.
Change-Id: Ie259629617d47367c412336434069e5d4f5cae3a
Signed-off-by: Piotr Milewski <vurmil@gmail.com>
(cherry picked from commit 2da3a2c0555c5671d8d473ef71c763cc0437b3b1)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/testinfra/test_horizon.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/testinfra/test_horizon.py b/tests/testinfra/test_horizon.py index abdb787c6..1f193e383 100644 --- a/tests/testinfra/test_horizon.py +++ b/tests/testinfra/test_horizon.py @@ -33,9 +33,11 @@ with open("/etc/kolla/passwords.yml", 'r') as file: def test_horizon_screenshot(host): firefox_options = webdriver.FirefoxOptions() + selenium_url = host.environment().get( + 'SELENIUM_REMOTE_URL', 'http://localhost:4500/wd/hub') driver = webdriver.Remote( - command_executor='http://localhost:4444/wd/hub', + command_executor=selenium_url, options=firefox_options) horizon_proto = host.environment().get('HORIZON_PROTO') @@ -73,9 +75,11 @@ def test_horizon_screenshot(host): def test_horizon_login(host): firefox_options = webdriver.FirefoxOptions() + selenium_url = host.environment().get( + 'SELENIUM_REMOTE_URL', 'http://localhost:4500/wd/hub') driver = webdriver.Remote( - command_executor='http://localhost:4444/wd/hub', + command_executor=selenium_url, options=firefox_options) horizon_proto = host.environment().get('HORIZON_PROTO') |
