Skip to content

Commit bd8ebbc

Browse files
hodlinatorMarcoFalke
andcommitted
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 <*~=`'#}+{/-|&$^[email protected]>
1 parent d8f05e7 commit bd8ebbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/test_framework/test_framework.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def parse_args(self, test_file):
261261
parser.add_argument("-f", "--fff", help="a dummy argument to fool ipython", default="1")
262262
self.options = parser.parse_args()
263263
if self.options.timeout_factor == 0:
264-
self.options.timeout_factor = 99999
264+
self.options.timeout_factor = 999
265265
self.options.timeout_factor = self.options.timeout_factor or (4 if self.options.valgrind else 1)
266266
self.options.previous_releases_path = previous_releases_path
267267

0 commit comments

Comments
 (0)