-
Notifications
You must be signed in to change notification settings - Fork 37.8k
test: add factor option to adjust test timeouts #18617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
This one fails on travis, but succeeds on my macOS. Is there anything I could do to make it pass? mempool_reorg.py | ✖ Failed | 773 s Error Log raise AssertionError("Mempool sync timed out:{}".format("".join("\n {!r}".format(m) for m in pool)))
AssertionError: Mempool sync timed out: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK, just style nits
Could you please bump the factor to 2.0 for the valgrind run and mark this pull as fixing #18834 ? |
Yes, sure, will do it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
Co-authored-by: MarcoFalke <falke.marco@gmail.com>
Thanks! ACK 2742c34 |
2742c34 test: add factor option to adjust test timeouts (Harris) Pull request description: This PR adds a new option **factor** that can be used to adjust timeouts in various functional tests. Several timeouts and functions from `authproxy`, `mininode`, `test_node` and `util` have been adapted to use this option. The factor-option definition is located in `test_framework.py`. Fixes bitcoin#18266 Also Fixes bitcoin#18834 ACKs for top commit: MarcoFalke: Thanks! ACK 2742c34 Tree-SHA512: 6d8421933ba2ac1b7db00b70cf2bc242d9842c48121c11aadc30b0985c4a174c86a127d6402d0cd73b993559d60d4f747872d21f9510cf4806e008349780d3ef
Summary: Co-authored-by: MarcoFalke <falke.marco@gmail.com> This PR adds a new option factor that can be used to adjust timeouts in various functional tests. Several timeouts and functions from authproxy, mininode, test_node and util have been adapted to use this option. The factor-option definition is located in test_framework.py. Fixes #18266 Also Fixes #18834 This is a backport of Core [[bitcoin/bitcoin#18617 | PR18617]] Test Plan: `ninja check-functional` Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Subscribers: Fabien Differential Revision: https://reviews.bitcoinabc.org/D9027
This PR adds a new option factor that can be used to adjust timeouts in various functional tests.
Several timeouts and functions from
authproxy
,mininode
,test_node
andutil
have been adapted to use this option. The factor-option definition is located intest_framework.py
.Fixes #18266
Also Fixes #18834