mirror of
https://github.com/ceph/ceph
synced 2025-01-04 18:19:48 +00:00
370449ac9d
Modify caps_helper.py such that calling code does't have to store returned values just to pass those values again to a method in caps_helper.py. This is a common pattern where write_test_files() return 3 values and all 3 passed as it is to run_cap_tests(). The easy way to do it is to upgrade caps_helper so that it can be used an object and not just as a class supplying helper methods. The return values will be stored by the object internally and thus resued. In case of testing multiple FSs inside a single test method, we'll now need multiple instances of this class to keep those values separate. And since CapsHelper is not just a class supplying helper methods anymore, it's being renamed to CapTester. Signed-off-by: Rishabh Dave <ridave@redhat.com> |
||
---|---|---|
.. | ||
__init__.py | ||
caps_helper.py | ||
cephfs_test_case.py | ||
filesystem.py | ||
fuse_mount.py | ||
kernel_mount.py | ||
mount.py | ||
test_acls.py | ||
test_admin.py | ||
test_auto_repair.py | ||
test_backtrace.py | ||
test_cap_flush.py | ||
test_cephfs_shell.py | ||
test_client_limits.py | ||
test_client_recovery.py | ||
test_damage.py | ||
test_data_scan.py | ||
test_dump_tree.py | ||
test_exports.py | ||
test_failover.py | ||
test_flush.py | ||
test_forward_scrub.py | ||
test_fragment.py | ||
test_fstop.py | ||
test_full.py | ||
test_journal_migration.py | ||
test_journal_repair.py | ||
test_mantle.py | ||
test_mds_metrics.py | ||
test_meta_injection.py | ||
test_mirroring.py | ||
test_misc.py | ||
test_multifs_auth.py | ||
test_multimds_misc.py | ||
test_nfs.py | ||
test_openfiletable.py | ||
test_pool_perm.py | ||
test_quota.py | ||
test_readahead.py | ||
test_recovery_fs.py | ||
test_recovery_pool.py | ||
test_scrub_checks.py | ||
test_scrub.py | ||
test_sessionmap.py | ||
test_snap_schedules.py | ||
test_snapshots.py | ||
test_strays.py | ||
test_subvolume.py | ||
test_volumes.py | ||
xfstests_dev.py |