You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: add option to functional test_runner to adjust test timeouts #18266
It was suggested that we could have an additional argument for the functional test_runner that modifies the timeouts by some factor. This would save having to randomly bump timeouts in the tests themselves, as users that require longer timeouts can opt in by -factor=1.5 etc.
The purpose of the good first issue label is to highlight which issues are suitable for a new contributor without a deep understanding of the codebase.
You do not need to request permission to start working on this. You are encouraged to comment on the issue if you are planning to work on it. This will help other contributors monitor which issues are actively being addressed and is also an effective way to request assistance if and when you need it.
For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.
I'm not sure about the current state of this Issue, so in case my work "clashes" with @modfort 's , feel free to pilfer any parts that are valuable to you. I won't be opening a PR unless it's OK with everyone participating in this thread.
My solution adds a factor option to BitcoinTestMetaClass in test_framework. First, I tried the same with test_runner but couldn't forward the factor arg to test cases (error: the options object and/or factor arg were missing...not sure why, I must be missing something important regarding the test framework's infrastructure).
Therefore, I went to change BitcoinTestMetaClass.
The functions with timeoutparameter that I updated are located in authproxy, mininode and test_node. I used @MarcoFalke 's grep commands (thanks for that!).
I've seen many more functions that expect similar arguments but didn't want to change them without consultation.
Maybe it's better to open a proper PR so that others can see that something is happening here? There are so many issues in the backlog and not everyone has enough time to go through all of them to check for changes.
I will now open a PR, and then we can discuss. If there is anything speaking against it, please let me know.
Activity
modfort commentedon Mar 19, 2020
I would like to work on this .
maflcko commentedon Mar 19, 2020
To find the timeouts that need to be reworked:
modfort commentedon Apr 8, 2020
Hi , if you can help with a problem in configure , configure: error: LRELEASE not found , i have manjaro 64 .
maflcko commentedon Apr 8, 2020
@modfort Please file a separate issue with steps to reproduce about your build error
brakmic commentedon Apr 10, 2020
Hi,
I'm not sure about the current state of this Issue, so in case my work "clashes" with @modfort 's , feel free to pilfer any parts that are valuable to you. I won't be opening a PR unless it's OK with everyone participating in this thread.
My solution adds a factor option to
BitcoinTestMetaClassintest_framework. First, I tried the same withtest_runnerbut couldn't forward the factor arg to test cases (error: the options object and/or factor arg were missing...not sure why, I must be missing something important regarding the test framework's infrastructure).Therefore, I went to change
BitcoinTestMetaClass.The functions with
timeoutparameter that I updated are located inauthproxy,mininodeandtest_node. I used @MarcoFalke 's grep commands (thanks for that!).I've seen many more functions that expect similar arguments but didn't want to change them without consultation.
Cheers,
brakmic commentedon Apr 13, 2020
Maybe it's better to open a proper PR so that others can see that something is happening here? There are so many issues in the backlog and not everyone has enough time to go through all of them to check for changes.
I will now open a PR, and then we can discuss. If there is anything speaking against it, please let me know.
Cheers,
Merge bitcoin#18617: test: add factor option to adjust test timeouts
Merge #18617: test: add factor option to adjust test timeouts
Merge #18617: test: add factor option to adjust test timeouts
Merge #18617: test: add factor option to adjust test timeouts
Merge bitcoin#18617: test: add factor option to adjust test timeouts
Merge #18617: test: add factor option to adjust test timeouts
Merge #18617: test: add factor option to adjust test timeouts