Skip to content

Commit

Permalink
Merge pull request ceph#51270 from ljflores/wip-telemetry-selftest
Browse files Browse the repository at this point in the history
mgr/telemetry: compile all channels and collections in selftest

Reviewed-by: Yaarit Hatuka <[email protected]>
  • Loading branch information
yaarith authored May 1, 2023
2 parents f03b8b7 + 70c5a4d commit 4662415
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pybind/mgr/telemetry/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -2004,7 +2004,8 @@ def get_report(self,
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')

Expand Down

0 comments on commit 4662415

Please sign in to comment.