Feature #77389
openceph-mgr Unit Test coverage: Basic setup and teardown for all classes in the Mgr
0%
Description
Iteration 1 of an iterative approach to introduce unit tests to a wider section of the Mgr. Up to this point, testing has been focused on deep coverage of classes. This approach aims to enable Unit Test creation from many people by providing scaffolding to create and destroy objects for each class.
After the scaffolding is in place, we can widely create tests that require little complexity (e.g. working around GIL issues) for many classes, aiming to cover large swaths of code in the mgr, before then focusing on deep coverage of each file. Bob is fantastic at writing these 'simple' tests, and can be leveraged to do so in a time efficient manner.
This tracker will handle the introduction of scaffolding and base tests where there hasn't been any added:
- Mgr
- DaemonServer
- DaemonPerfCounters
- MetricCollector
- OSDPerfMetricCollector
- MDSPerfMetricCollector
- DaemonHealthMetricCollector
- ThreadMonitor
- PyModuleRegistry
- PyModuleRunner
- PyOSDMap
- MgrClient
- MgrStandby
- StandbyPyModules
- MgrOpRequest
- PerfCounterInstance
SZ Updated by Steven Zuraski 6 months ago
- Related to Feature #76261: Continued ceph-mgr Unit Test coverage: ActivePyModules added
SZ Updated by Steven Zuraski 6 months ago
- Related to Bug #72938: Improve unit-test coverage for ceph-mgr code added
NM Updated by Nitzan Mordechai 6 months ago
- Tracker changed from Bug to Feature
- Regression deleted (
No) - Severity deleted (
3 - minor)
SZ Updated by Steven Zuraski 3 months ago
- Pull request ID set to 71237