Closed leelavg closed 3 years ago
please review @itisravi @srijan-sivakumar
Local testing:
# pyc tests/functional/glusterd/test_custom_xlator.py
Sorting imports by 'isort'
/root/toolbox/venv/gpy3/lib/python3.8/site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
warnings.warn(
Running through 'yapf'
Remove unused vars/imports by 'autoflake'
Checking against 'flake8'
Errors from 'pylint'
--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
# On Centos8/RHEL8
tests/functional/glusterd/test_custom_xlator.py::TestCustomXlator_cplex_distributed-replicated_glusterfs::test_custom_xlator_ops PASSED
tests/functional/glusterd/test_custom_xlator.py::TestCustomXlator_cplex_distributed-arbiter_glusterfs::test_custom_xlator_ops PASSED
tests/functional/glusterd/test_custom_xlator.py::TestCustomXlator_cplex_distributed-dispersed_glusterfs::test_custom_xlator_ops PASSED
tests/functional/glusterd/test_custom_xlator.py::TestCustomXlator_cplex_distributed_glusterfs::test_custom_xlator_ops PASSED
tests/functional/glusterd/test_custom_xlator.py::TestCustomXlator_cplex_arbiter_glusterfs::test_custom_xlator_ops PASSED
tests/functional/glusterd/test_custom_xlator.py::TestCustomXlator_cplex_dispersed_glusterfs::test_custom_xlator_ops PASSED
tests/functional/glusterd/test_custom_xlator.py::TestCustomXlator_cplex_replicated_glusterfs::test_custom_xlator_ops PASSED
============================= 7 passed, 3849 warnings in 1284.42s (0:21:24) =============================
# On Centos7/RHEL7
tests/functional/glusterd/test_custom_xlator.py::TestCustomXlator_cplex_distributed-dispersed_glusterfs::test_custom_xlator_ops PASSED
tests/functional/glusterd/test_custom_xlator.py::TestCustomXlator_cplex_distributed_glusterfs::test_custom_xlator_ops PASSED
tests/functional/glusterd/test_custom_xlator.py::TestCustomXlator_cplex_distributed-replicated_glusterfs::test_custom_xlator_ops PASSED
tests/functional/glusterd/test_custom_xlator.py::TestCustomXlator_cplex_distributed-arbiter_glusterfs::test_custom_xlator_ops PASSED
tests/functional/glusterd/test_custom_xlator.py::TestCustomXlator_cplex_replicated_glusterfs::test_custom_xlator_ops PASSED
tests/functional/glusterd/test_custom_xlator.py::TestCustomXlator_cplex_dispersed_glusterfs::test_custom_xlator_ops PASSED
tests/functional/glusterd/test_custom_xlator.py::TestCustomXlator_cplex_arbiter_glusterfs::test_custom_xlator_ops PASSED
===================================== 7 passed in 1240.35 seconds ======================================
Steps:
Change-Id: I5e9dad797fe187b3b9bcdd7374635779c97c5f25 Signed-off-by: Leela Venkaiah G lgangava@redhat.com