From baafb66e03a0a5468bc46d552a4d902e0bc0a070 Mon Sep 17 00:00:00 2001 From: Nitzan Mordechai Date: Tue, 24 Mar 2026 11:50:08 +0000 Subject: [PATCH] orchestrator/test/test_orchestrator: fix return code to negative After changes of PR #67652 Signed-off-by: Nitzan Mordechai (cherry picked from commit dede88077033917022b86fc6170a64a02530f728) --- src/pybind/mgr/orchestrator/tests/test_orchestrator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]) -- 2.47.3