-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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 sError Log raise AssertionError("Mempool sync timed out:{}".format("".join("\n {!r}".format(m) for m in pool)))
AssertionError: Mempool sync timed out: |
maflcko
left a comment
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. |
maflcko
left a comment
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
maflcko
left a comment
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 |
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_nodeandutilhave been adapted to use this option. The factor-option definition is located intest_framework.py.Fixes #18266
Also Fixes #18834