From: Kefu Chai Date: Thu, 10 Sep 2020 06:33:50 +0000 (+0800) Subject: doc/dev: reformat the sample for tree structure of a test suite X-Git-Tag: v16.1.0~1140^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c80d5d47b375f48f490158cce907c39a6ff7f27d;p=ceph.git doc/dev: reformat the sample for tree structure of a test suite Signed-off-by: Kefu Chai --- diff --git a/doc/dev/developer_guide/tests-integration-tests.rst b/doc/dev/developer_guide/tests-integration-tests.rst index 07976bc76729f..a29119be34da0 100644 --- a/doc/dev/developer_guide/tests-integration-tests.rst +++ b/doc/dev/developer_guide/tests-integration-tests.rst @@ -328,19 +328,20 @@ teuthology to construct a test matrix from yaml facets found in subdirectories below the directory containing the operator. For example, the `ceph-deploy suite -`_ is +`_ is defined by the ``suites/ceph-deploy/`` tree, which consists of the files and subdirectories in the following structure .. code-block:: none - directory: ceph-deploy/basic - file: % - directory: distros - file: centos_7.0.yaml - file: ubuntu_16.04.yaml - directory: tasks - file: ceph-deploy.yaml + qa/suites/ceph-deploy + ├── % + ├── distros + │   ├── centos_latest.yaml + │   └── ubuntu_latest.yaml + └── tasks + ├── ceph-admin-commands.yaml + └── rbd_import_export.yaml This is interpreted as a 2x1 matrix consisting of two tests: @@ -401,15 +402,16 @@ tree .. code-block:: none - directory: rbd/thrash - file: % - directory: clusters - file: + - file: fixed-2.yaml - file: openstack.yaml - directory: workloads - file: rbd_api_tests_copy_on_read.yaml - file: rbd_api_tests.yaml + qa/suites/rbd/thrash + ├── % + ├── clusters + │   ├── + + │   ├── fixed-2.yaml + │   └── openstack.yaml + └── workloads + ├── rbd_api_tests_copy_on_read.yaml + ├── rbd_api_tests.yaml + └── rbd_fsx_rate_limit.yaml This creates two tests: