Actions
Bug #43191
closedtest_cephfs_shell: set `colors` to Never for cephfs-shell
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-shell
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Originally, the plan was to use setUpClass and tearDownClass for tests1 but I missed pushing that modification before merge. Even if I were push that modification in time, it still would be incorrect because setUpClass would require access to mon_manager.raw_cluster_cmd which can't happen unless cephfs_test_case.CephFSTestCase.setUp2 runs. Therefore, colors has to be set and unset in TestCephFSShell.setUp instead of setUpClass.
Related to this TODO3.
[1] https://github.com/ceph/ceph/pull/29964#discussion_r350459055
[2] https://github.com/ceph/ceph/pull/29964#discussion_r350459055
[3] https://github.com/ceph/ceph/pull/29964/commits/2f85a03b56e4c29f0eaa8ced2e5c0de08da1dd85#diff-0176720ea87b333b7c452e72f8adcf42L674
Updated by Patrick Donnelly over 4 years ago
- Status changed from In Progress to Fix Under Review
- Target version set to v15.0.0
- Source set to Development
- Component(FS) cephfs-shell added
Updated by Patrick Donnelly about 4 years ago
- Target version changed from v15.0.0 to v16.0.0
Updated by Patrick Donnelly almost 4 years ago
- Status changed from Fix Under Review to Resolved
Actions