]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/dev: reformat the sample for tree structure of a test suite 37075/head
authorKefu Chai <kchai@redhat.com>
Thu, 10 Sep 2020 06:33:50 +0000 (14:33 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 10 Sep 2020 07:13:02 +0000 (15:13 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/dev/developer_guide/tests-integration-tests.rst

index 07976bc76729f3e3a45f81e957e82934d7d40849..a29119be34da000f202685486d0ec9013ad6bf61 100644 (file)
@@ -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
-<https://github.com/ceph/ceph/tree/jewel/qa/suites/ceph-deploy/>`_ is
+<https://github.com/ceph/ceph/tree/master/qa/suites/ceph-deploy/>`_ 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: