Skip to content

Commit 5b08885

Browse files
committed
test: enable functional tests with large rpc args for cli
Also, the following tests (for which self.supports_cli = False was not set) will now work with --usecli: feature_fastprune.py feature_fee_estimation.py feature_reindex_readonly.py feature_taproot.py mempool_package_rbf.py p2p_net_deadlock.py p2p_tx_download.py rpc_packages.py
1 parent 7d5352a commit 5b08885

File tree

8 files changed

+0
-8
lines changed

8 files changed

+0
-8
lines changed

test/functional/feature_maxuploadtarget.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ def set_test_params(self):
5252
self.extra_args = [[
5353
f"-maxuploadtarget={UPLOAD_TARGET_MB}M",
5454
]]
55-
self.supports_cli = False
5655

5756
def assert_uploadtarget_state(self, *, target_reached, serve_historical_blocks):
5857
"""Verify the node's current upload target state via the `getnettotals` RPC call."""

test/functional/feature_pruning.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ class PruneTest(BitcoinTestFramework):
6969
def set_test_params(self):
7070
self.setup_clean_chain = True
7171
self.num_nodes = 6
72-
self.supports_cli = False
7372
self.uses_wallet = None
7473

7574
# Create nodes 0 and 1 to mine.

test/functional/mempool_limit.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ def set_test_params(self):
3131
self.extra_args = [[
3232
"-maxmempool=5",
3333
]]
34-
self.supports_cli = False
3534

3635
def test_rbf_carveout_disallowed(self):
3736
node = self.nodes[0]

test/functional/mining_basic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ def set_test_params(self):
6565
["-fastprune", "-prune=1"]
6666
]
6767
self.setup_clean_chain = True
68-
self.supports_cli = False
6968

7069
def mine_chain(self):
7170
self.log.info('Create some old blocks')

test/functional/p2p_1p1c_network.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ def set_test_params(self):
4343
self.extra_args = [[
4444
"-maxmempool=5",
4545
]] * self.num_nodes
46-
self.supports_cli = False
4746

4847
def raise_network_minfee(self):
4948
fill_mempool(self, self.nodes[0])

test/functional/p2p_opportunistic_1p1c.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ def set_test_params(self):
6161
self.extra_args = [[
6262
"-maxmempool=5",
6363
]]
64-
self.supports_cli = False
6564

6665
def create_tx_below_mempoolminfee(self, wallet):
6766
"""Create a 1-input 1sat/vB transaction using a confirmed UTXO. Decrement and use

test/functional/p2p_segwit.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ def set_test_params(self):
221221
["-acceptnonstdtxn=1", f"-testactivationheight=segwit@{SEGWIT_HEIGHT}", "-par=1"],
222222
["-acceptnonstdtxn=0", f"-testactivationheight=segwit@{SEGWIT_HEIGHT}"],
223223
]
224-
self.supports_cli = False
225224

226225
# Helper functions
227226

test/functional/wallet_taproot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ def set_test_params(self):
191191
self.num_nodes = 2
192192
self.setup_clean_chain = True
193193
self.extra_args = [['-keypool=100'], ['-keypool=100']]
194-
self.supports_cli = False
195194

196195
def skip_test_if_missing_module(self):
197196
self.skip_if_no_wallet()

0 commit comments

Comments
 (0)