From: Matan Breizman Date: Mon, 21 Nov 2022 14:31:46 +0000 (+0000) Subject: doc/dev/developer_guide/tests-unit-tests: Add unit test caveat X-Git-Tag: v18.1.0~845^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=032f8cf601cd82f834599f1b95a3a4c1c4aa401d;p=ceph.git doc/dev/developer_guide/tests-unit-tests: Add unit test caveat Signed-off-by: Matan Breizman --- diff --git a/doc/dev/developer_guide/tests-unit-tests.rst b/doc/dev/developer_guide/tests-unit-tests.rst index 21db9bf9f4cba..72d724d981ed6 100644 --- a/doc/dev/developer_guide/tests-unit-tests.rst +++ b/doc/dev/developer_guide/tests-unit-tests.rst @@ -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..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