Skip to content

Commit 40849ee

Browse files
committed
test: bump sandbox argument minimum version
The -sandbox argument is not present in the v22.0 release. Changing the minimum version to 229900 ensures it's used when testing the master branch. If the argument is backported, the minimum version can be adjusted to e.g. 220100.
1 parent 8a57a06 commit 40849ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/functional/test_framework/test_framework.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,8 @@ def get_bin_from_version(version, bin_name, bin_default):
473473
versions = [None] * num_nodes
474474
if self.is_syscall_sandbox_compiled() and not self.disable_syscall_sandbox:
475475
for i in range(len(extra_args)):
476-
if versions[i] is None or versions[i] >= 219900:
476+
# The -sandbox argument is not present in the v22.0 release.
477+
if versions[i] is None or versions[i] >= 229900:
477478
extra_args[i] = extra_args[i] + ["-sandbox=log-and-abort"]
478479
if binary is None:
479480
binary = [get_bin_from_version(v, 'bitcoind', self.options.bitcoind) for v in versions]

0 commit comments

Comments
 (0)