MCPcopy Create free account
hub / github.com/ceph/ceph / test_module_remote

Method test_module_remote

qa/tasks/mgr/test_module_selftest.py:202–216  ·  view source on GitHub ↗

Use the selftest module to exercise inter-module communication

(self)

Source from the content-addressed store, hash-verified

200 self.wait_for_health_clear(timeout=30)
201
202 def test_module_remote(self):
203 """
204 Use the selftest module to exercise inter-module communication
205 """
206 self._load_module("selftest")
207 #before we are enabling influx, set config options to avoid errors
208 self.mgr_cluster.mon_manager.raw_cluster_cmd(
209 "config", "set", "mgr", "mgr/influx/hostname", "testhost")
210
211 # The "self-test remote" operation just happens to call into
212 # influx.
213 self._load_module("influx")
214
215 self.mgr_cluster.mon_manager.raw_cluster_cmd(
216 "mgr", "self-test", "remote")
217
218 def test_selftest_cluster_log(self):
219 """

Callers

nothing calls this directly

Calls 2

raw_cluster_cmdMethod · 0.80
_load_moduleMethod · 0.45

Tested by

no test coverage detected