Use the selftest module to exercise inter-module communication
(self)
| 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 | """ |
nothing calls this directly
no test coverage detected