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
fa27cf4 test: Default timeout factor to 4 under --valgrind (MarcoFalke)
Pull request description:
valgrind will incur a slowdown of at least 2, so increase the default timeout factor.
This should reduce the number of reported issues. See also bitcoin/bitcoin#27112 (comment)
ACKs for top commit:
fanquake:
ACK fa27cf4 - I still see at least one actual issue when running the functional tests under `--valgrind` (outside the CI system), but will follow up separately with that. Increasing the timeout here seems fine.
Tree-SHA512: 4467559a3bfd98f5735f300f6ed54c68f951191d65a2b1294d71d72cc5d0864964de562d5dfa0a4855fc541ccb269a538b7aeb3d408d2d012a5369513397c395
self.rpc_timeout=int(self.rpc_timeout*self.options.timeout_factor) # optionally, increase timeout by a factor
126
124
127
125
defmain(self):
@@ -193,14 +191,17 @@ def parse_args(self):
193
191
help="run nodes under the valgrind memory error detector: expect at least a ~10x slowdown. valgrind 3.14 or later required. Forces --nosandbox.")
194
192
parser.add_argument("--randomseed", type=int,
195
193
help="set a random seed for deterministically reproducing a previous test run")
196
-
parser.add_argument('--timeout-factor', dest="timeout_factor", type=float, default=1.0, help='adjust test timeouts by a factor. Setting it to 0 disables all timeouts')
194
+
parser.add_argument("--timeout-factor", dest="timeout_factor", type=float, help="adjust test timeouts by a factor. Setting it to 0 disables all timeouts")
197
195
198
196
self.add_options(parser)
199
197
# Running TestShell in a Jupyter notebook causes an additional -f argument
200
198
# To keep TestShell from failing with an "unrecognized argument" error, we add a dummy "-f" argument
0 commit comments