aboutsummaryrefslogtreecommitdiff
path: root/test/README.md
diff options
context:
space:
mode:
authorcodeShark149 <rajarshi149@gmail.com>2020-05-18 09:52:06 +0530
committercodeShark149 <rajarshi149@gmail.com>2020-05-18 21:18:40 +0530
commit38c3dd9c706e7e84b2a4dbaf1424a3f1c3b694fc (patch)
tree25ec2bf313e61357675517d9849bfe114da8891f /test/README.md
parent784ae096259955ea7a294114f5c021c9489d2717 (diff)
downloadbitcoin-38c3dd9c706e7e84b2a4dbaf1424a3f1c3b694fc.tar.xz
docs: Add notes on how to diasble rpc timeout in functional tests while attatching gdb.
Diffstat (limited to 'test/README.md')
-rw-r--r--test/README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/README.md b/test/README.md
index e1dab92a06..0210907878 100644
--- a/test/README.md
+++ b/test/README.md
@@ -225,6 +225,10 @@ gdb /home/example/bitcoind <pid>
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