From 032f8cf601cd82f834599f1b95a3a4c1c4aa401d Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Mon, 21 Nov 2022 14:31:46 +0000 Subject: [PATCH] doc/dev/developer_guide/tests-unit-tests: Add unit test caveat Signed-off-by: Matan Breizman --- doc/dev/developer_guide/tests-unit-tests.rst | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.39.5