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
Merge bitcoin#32057: test: avoid disk space warning for non-regtest
20fe41e test: avoid disk space warning for non-regtest (Sjors Provoost)
Pull request description:
`feature_config_args.py` incorrectly assumed that its testnet4 node would not log a disk space warning.
But when bitcoin#31978 increased `m_assumed_blockchain_size` on testnet4 from 1 to 11 GiB, it triggered this bug on my RAM disk, see https://github.com/bitcoin/bitcoin/tree/master/test#speed-up-test-runs-with-a-ram-disk
This PR fixes the issue by using `-prune` which prevents the warning.
ACKs for top commit:
fjahr:
ACK 20fe41e
maflcko:
lgtm ACK 20fe41e
rkrux:
ACK 20fe41e
Tree-SHA512: f4bbb3ede307e06bf097a3cf7a4099eacc9388e33f551e1d0c4c5f53747bfa593a4b22e5d2e713ce6dd8adf91602fade36fbec9cfc2b250a6b1cf09f11bc8473
t3_warning_log="Warning: Support for testnet3 is deprecated and will be removed in an upcoming release. Consider switching to testnet4."
473
476
474
-
defwarning_msg(node, approx_size):
475
-
returnf'Warning: Disk space for "{node.datadir_path/node.chain/"blocks"}" may not accommodate the block files. Approximately {approx_size} GB of data will be stored in this directory.'
476
-
477
-
# Testnet3 node will log the warning
477
+
self.log.debug("Testnet3 node will log the deprecation warning")
0 commit comments