From: Laura Flores Date: Thu, 27 Apr 2023 18:22:47 +0000 (+0000) Subject: mgr/telemetry: compile all channels and collections in selftest X-Git-Tag: v19.0.0~1317^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=70c5a4d54833f20a07f48488f29d9410d19f6bd4;p=ceph.git mgr/telemetry: compile all channels and collections in selftest The selftest currently compiles only channels and collections that are on by default. This change tests the compilation of all channels and collections. Signed-off-by: Laura Flores --- diff --git a/src/pybind/mgr/telemetry/module.py b/src/pybind/mgr/telemetry/module.py index 74e289461d2e..cd431a2e1cc6 100644 --- a/src/pybind/mgr/telemetry/module.py +++ b/src/pybind/mgr/telemetry/module.py @@ -2004,7 +2004,8 @@ Please consider enabling the telemetry module with 'ceph telemetry on'.''' return {} def self_test(self) -> None: - report = self.compile_report() + self.opt_in_all_collections() + report = self.compile_report(channels=ALL_CHANNELS) if len(report) == 0: raise RuntimeError('Report is empty')