mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-11 09:22:02 +02:00
qa: Make --timeout-factor=0 result in a smaller factor
Would otherwise cause an OverflowError in feature_framework_startup_failures.py when calling subprocess.run() with 60 * factor. Fixes #32506 Co-authored-by: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>
This commit is contained in:
parent
d8f05e7bf3
commit
bd8ebbc4ab
@ -261,7 +261,7 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
|
||||
parser.add_argument("-f", "--fff", help="a dummy argument to fool ipython", default="1")
|
||||
self.options = parser.parse_args()
|
||||
if self.options.timeout_factor == 0:
|
||||
self.options.timeout_factor = 99999
|
||||
self.options.timeout_factor = 999
|
||||
self.options.timeout_factor = self.options.timeout_factor or (4 if self.options.valgrind else 1)
|
||||
self.options.previous_releases_path = previous_releases_path
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user