From 79091a07050662c96946382c02385a57486fb20a Mon Sep 17 00:00:00 2001 From: Laura Flores Date: Thu, 27 Apr 2023 18:22:47 +0000 Subject: [PATCH] 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 (cherry picked from commit 70c5a4d54833f20a07f48488f29d9410d19f6bd4) --- src/pybind/mgr/telemetry/module.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pybind/mgr/telemetry/module.py b/src/pybind/mgr/telemetry/module.py index 74e289461d2ea..cd431a2e1cc69 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') -- 2.39.5