]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm/tests: handle "stop" daemon action in test_cephadm.py 62745/head
authorVallari Agrawal <vallari.agrawal@ibm.com>
Thu, 10 Apr 2025 06:22:59 +0000 (11:52 +0530)
committerVallari Agrawal <vallari.agrawal@ibm.com>
Thu, 10 Apr 2025 16:08:56 +0000 (21:38 +0530)
commitd67864476a1f002c7fc4c5f128b0bd64ef2eac43
tree47ecf4a7ff148575609f132e623952efd979acce
parent16bc30c9553e1ec8b4cb26c60bac86e1cf28bf43
mgr/cephadm/tests: handle "stop" daemon action in test_cephadm.py

Handle ok_to_stop logic for "stop" in test_daemon_action.
Daemon "stop" needs force=true, so test for OrchestratorError
when it's not passed.

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
src/pybind/mgr/cephadm/tests/test_cephadm.py