From 00223d2364b5a6cc32eb5f83f5a642b5aef2c946 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 18 Aug 2018 09:29:00 -0500 Subject: [PATCH] qa/tasks/mgr/test_module_selftest: use hello instead of status for disbled command test Signed-off-by: Sage Weil --- qa/tasks/mgr/test_module_selftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/tasks/mgr/test_module_selftest.py b/qa/tasks/mgr/test_module_selftest.py index fa609f7348c28..3851a5be86725 100644 --- a/qa/tasks/mgr/test_module_selftest.py +++ b/qa/tasks/mgr/test_module_selftest.py @@ -236,10 +236,10 @@ class TestModuleSelftest(MgrTestCase): # Calling a command on a disabled module should return the proper # error code. self.mgr_cluster.mon_manager.raw_cluster_cmd( - "mgr", "module", "disable", "status") + "mgr", "module", "disable", "hello") with self.assertRaises(CommandFailedError) as exc_raised: self.mgr_cluster.mon_manager.raw_cluster_cmd( - "osd", "status") + "hello") self.assertEqual(exc_raised.exception.exitstatus, errno.EOPNOTSUPP) -- 2.39.5