From: Nitzan Mordechai Date: Tue, 24 Mar 2026 11:50:08 +0000 (+0000) Subject: orchestrator/test/test_orchestrator: fix return code to negative X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=baafb66e03a0a5468bc46d552a4d902e0bc0a070;p=ceph.git orchestrator/test/test_orchestrator: fix return code to negative After changes of PR #67652 Signed-off-by: Nitzan Mordechai (cherry picked from commit dede88077033917022b86fc6170a64a02530f728) --- diff --git a/src/pybind/mgr/orchestrator/tests/test_orchestrator.py b/src/pybind/mgr/orchestrator/tests/test_orchestrator.py index df662f4ad9e1..079e8d7f84bb 100644 --- a/src/pybind/mgr/orchestrator/tests/test_orchestrator.py +++ b/src/pybind/mgr/orchestrator/tests/test_orchestrator.py @@ -143,7 +143,7 @@ def test_handle_command(): m = OrchestratorCli('orchestrator', 0, 0) r = m._handle_command(None, cmd) assert r == HandleCommandResult( - retval=2, stdout='', stderr='No orchestrator configured (try `ceph orch set backend`)') + retval=-2, stdout='', stderr='No orchestrator configured (try `ceph orch set backend`)') r = OrchResult([ServiceDescription(spec=ServiceSpec(service_type='osd'), running=123)])