]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/dev/developer_guide/tests-unit-tests: Add unit test caveat 48984/head
authorMatan Breizman <mbreizma@redhat.com>
Mon, 21 Nov 2022 14:31:46 +0000 (14:31 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Mon, 21 Nov 2022 14:56:24 +0000 (14:56 +0000)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
doc/dev/developer_guide/tests-unit-tests.rst

index 21db9bf9f4cba33f4b353189b0bd205f37526f81..72d724d981ed617b8ec64dd81b93b8415efbc9a0 100644 (file)
@@ -166,5 +166,12 @@ Unit test caveats
    explicitly linked against something else. This enables tools such as
    **valgrind** to be used in the tests.
 
+#. Google Test unit testing library hides the client output from the shell.
+   In order to debug the client after setting the desired debug level
+   (e.g ``ceph config set client debug_rbd 20``), the debug log file can
+   be found at ``build/out/client.admin.<pid>.log``.
+   This can also be handy when examining teuthology failed unit test
+   jobs, the job's debug level can be set at the relevant yaml file.
+
 .. _make check:
 .. _teuthology framework: https://github.com/ceph/teuthology