Skip to content

test: Avoid rpc timeout in p2p_headers_sync_with_minchainwork - #26954

Merged
maflcko merged 1 commit into
bitcoin:masterfrom
maflcko:2301-test-rpc-timeout-default-🔛
Jan 24, 2023

Hidden character warning

The head ref may contain hidden characters: "2301-test-rpc-timeout-default-\ud83d\udd1b"
Merged

maflcko merged 1 commit into
bitcoin:masterfrom
maflcko:2301-test-rpc-timeout-default-🔛

Conversation

@maflcko

@maflcko maflcko commented Jan 23, 2023

Copy link
Copy Markdown
Member

When running a lot of tests in parallel, I get JSONRPCException: 'generatetoaddress' RPC took longer than 30.000000 seconds.

The general recommendation, if running into timeouts, is to increase the --timeout-factor. However, I think that the default timeout values should be suitable to run the tests out of the box on reasonable hardware.

@DrahtBot

DrahtBot commented Jan 23, 2023 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK fanquake

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@DrahtBot DrahtBot added the Tests label Jan 23, 2023

@fanquake fanquake left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fa952fa

@maflcko
maflcko merged commit 75e752f into bitcoin:master Jan 24, 2023
@maflcko
maflcko deleted the 2301-test-rpc-timeout-default-🔛 branch January 24, 2023 11:27
@bitcoin bitcoin locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants