]> git.apps.os.sepia.ceph.com Git - ceph.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 05:59:44 +0000 (11:29 +0530)
commit770d6d9dc38034a81d5c2bc6bfad1dbccedbad8c
treeaa68d8fc46d6d953922453c4efb3c0f2b8cec066
parent3c1062f2539edd35a7ad581c7571e036cdbf7253
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