]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/mgr/test_module_selftest: use hello instead of status for disbled command... 23558/head
authorSage Weil <sage@redhat.com>
Sat, 18 Aug 2018 14:29:00 +0000 (09:29 -0500)
committerSage Weil <sage@redhat.com>
Sat, 18 Aug 2018 14:29:00 +0000 (09:29 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/mgr/test_module_selftest.py

index fa609f7348c281b4fcc9249a74bafeba80492bf2..3851a5be867253105681382450d5fb4a5c865a34 100644 (file)
@@ -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)