From c4ce7221a0604f4894130b8526aa989ed9d8b1b0 Mon Sep 17 00:00:00 2001 From: Rishabh Dave Date: Fri, 6 May 2022 10:03:47 +0530 Subject: [PATCH] qa/cephfs: run all generic tests from xfstests-dev Signed-off-by: Rishabh Dave --- qa/suites/fs/functional/tasks/xfstests-dev.yaml | 5 +++++ qa/tasks/cephfs/tests_from_xfstests_dev.py | 12 ++++++++++++ qa/tasks/cephfs/xfstests_dev.py | 1 - 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 qa/suites/fs/functional/tasks/xfstests-dev.yaml create mode 100644 qa/tasks/cephfs/tests_from_xfstests_dev.py diff --git a/qa/suites/fs/functional/tasks/xfstests-dev.yaml b/qa/suites/fs/functional/tasks/xfstests-dev.yaml new file mode 100644 index 0000000000000..1906502ea00ec --- /dev/null +++ b/qa/suites/fs/functional/tasks/xfstests-dev.yaml @@ -0,0 +1,5 @@ +tasks: + - cephfs_test_runner: + fail_on_skip: false + modules: + - tasks.cephfs.tests_from_xfstests_dev diff --git a/qa/tasks/cephfs/tests_from_xfstests_dev.py b/qa/tasks/cephfs/tests_from_xfstests_dev.py new file mode 100644 index 0000000000000..1da662626411b --- /dev/null +++ b/qa/tasks/cephfs/tests_from_xfstests_dev.py @@ -0,0 +1,12 @@ +from logging import getLogger + +from tasks.cephfs.xfstests_dev import XFSTestsDev + + +log = getLogger(__name__) + + +class TestXFSTestsDev(XFSTestsDev): + + def test_generic(self): + self.run_generic_tests() diff --git a/qa/tasks/cephfs/xfstests_dev.py b/qa/tasks/cephfs/xfstests_dev.py index 5593064b26acc..5de2ddb156871 100644 --- a/qa/tasks/cephfs/xfstests_dev.py +++ b/qa/tasks/cephfs/xfstests_dev.py @@ -13,7 +13,6 @@ log = getLogger(__name__) -# TODO: add code to run non-ACL tests too. # TODO: make xfstests-dev tests running without running `make install`. class XFSTestsDev(CephFSTestCase):