Skip to content

Commit 38c3dd9

Browse files
docs: Add notes on how to diasble rpc timeout in functional tests while attatching gdb.
1 parent 784ae09 commit 38c3dd9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ gdb /home/example/bitcoind <pid>
225225
Note: gdb attach step may require ptrace_scope to be modified, or `sudo` preceding the `gdb`.
226226
See this link for considerations: https://www.kernel.org/doc/Documentation/security/Yama.txt
227227

228+
Often while debugging rpc calls from functional tests, the test might reach timeout before
229+
process can return a response. Use `--timeout-factor 0` to disable all rpc timeouts for that partcular
230+
functional test. Ex: `test/functional/wallet_hd.py --timeout-factor 0`.
231+
228232
##### Profiling
229233

230234
An easy way to profile node performance during functional tests is provided

0 commit comments

Comments
 (0)