From: Sage Weil Date: Sat, 18 Aug 2018 14:29:00 +0000 (-0500) Subject: qa/tasks/mgr/test_module_selftest: use hello instead of status for disbled command... X-Git-Tag: v14.0.1~535^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F23558%2Fhead;p=ceph.git qa/tasks/mgr/test_module_selftest: use hello instead of status for disbled command test Signed-off-by: Sage Weil --- diff --git a/qa/tasks/mgr/test_module_selftest.py b/qa/tasks/mgr/test_module_selftest.py index fa609f7348c2..3851a5be8672 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)