ocs_ci.ocs.tests package
Submodules
ocs_ci.ocs.tests.test_defaults module
- ocs_ci.ocs.tests.test_defaults.test_yaml_to_dict()
ocs_ci.ocs.tests.test_fiojob module
- ocs_ci.ocs.tests.test_fiojob.ceph_df_json_output_clusterempty()
Example of output from
ceph df --format json-pretty
command. Based on actual test run: jnk-ai3c33-t1/jnk-ai3c33-t1_20200318T095635/logs/ocs-ci-logs-1584528704
- ocs_ci.ocs.tests.test_fiojob.fio_json_output()
Example of fio –output-format=json output. Based on actual test run.
- ocs_ci.ocs.tests.test_fiojob.fio_json_output_broken()
Example of broken, unparseable json output.
- ocs_ci.ocs.tests.test_fiojob.fio_json_output_with_error(fio_json_output)
Example of fio –output-format=json output, with io_u error. Based on actual test run.
- ocs_ci.ocs.tests.test_fiojob.test_fio_to_dict_empty()
- ocs_ci.ocs.tests.test_fiojob.test_fio_to_dict_output_broken(fio_json_output_broken, caplog)
- ocs_ci.ocs.tests.test_fiojob.test_fio_to_dict_with_error(fio_json_output_with_error)
- ocs_ci.ocs.tests.test_fiojob.test_fio_to_dict_without_error(fio_json_output)
- ocs_ci.ocs.tests.test_fiojob.test_get_sc_name_default()
Checking that we get correct storage class by default.
- ocs_ci.ocs.tests.test_fiojob.test_get_storageutilization_size_empty100percent(ceph_df_json_output_clusterempty)
Checking that when asking for 100% target utilization on an empty cluster, the pvc_size matches MAX AVAIL value.
- ocs_ci.ocs.tests.test_fiojob.test_get_timeout_basic()
Writing on 1 GiB volume with 1 GiB/s should give us 1s timeout