From 38c3dd9c706e7e84b2a4dbaf1424a3f1c3b694fc Mon Sep 17 00:00:00 2001 From: codeShark149 Date: Mon, 18 May 2020 09:52:06 +0530 Subject: [PATCH] docs: Add notes on how to diasble rpc timeout in functional tests while attatching gdb. --- test/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/README.md b/test/README.md index e1dab92a06c..0210907878e 100644 --- a/test/README.md +++ b/test/README.md @@ -225,6 +225,10 @@ gdb /home/example/bitcoind Note: gdb attach step may require ptrace_scope to be modified, or `sudo` preceding the `gdb`. See this link for considerations: https://www.kernel.org/doc/Documentation/security/Yama.txt +Often while debugging rpc calls from functional tests, the test might reach timeout before +process can return a response. Use `--timeout-factor 0` to disable all rpc timeouts for that partcular +functional test. Ex: `test/functional/wallet_hd.py --timeout-factor 0`. + ##### Profiling An easy way to profile node performance during functional tests is provided