]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/dashboard: fix test_list_enabled_module failure
authorNizamudeen A <nia@redhat.com>
Wed, 30 Oct 2024 14:01:10 +0000 (19:31 +0530)
committerNizamudeen A <nia@redhat.com>
Thu, 13 Mar 2025 06:01:05 +0000 (11:31 +0530)
commit5cc7fc680656dc2626706151d8bd0b274a92f5ad
tree65dedf88d877399c4597ded34ad6f89ddf9de1c3
parentc0955dc2ad1e471328aecb074c61712bd0f45808
qa/dashboard: fix test_list_enabled_module failure

Check the ports availability and go for a new port if the current one is
not available

Fixes: https://tracker.ceph.com/issues/62972
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit a2a4a3415c0e5ceef2cb01d3bcdf5eb1fff23803)
qa/tasks/mgr/dashboard/helper.py
qa/tasks/mgr/dashboard/test_mgr_module.py
qa/tasks/mgr/mgr_test_case.py
src/pybind/mgr/dashboard/run-backend-api-tests.sh