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#20267: Disable and fix tests for when BDB is not compiled
49797c3 tests: Disable bdb dump test when no bdb (Andrew Chow)
1194cf9 Fix wallet_send.py wallet setup to work with descriptors (Andrew Chow)
fbaea7b Require legacy wallet for wallet_upgradewallet.py (Andrew Chow)
b1b679e Explicitly mark legacy wallet tests as such (Andrew Chow)
09514e1 Setup wallets for interface_zmq.py (Andrew Chow)
4d03ef9 Use MiniWallet in rpc_net.py (Andrew Chow)
4de2382 Setup wallets for interface_bitcoin_cli.py (Andrew Chow)
7c71c62 Setup wallets with descriptors for feature_notifications (Andrew Chow)
1f1bef8 Have feature_filelock.py test both bdb and sqlite, depending on compiled (Andrew Chow)
c77975a Disable upgrades tests that require BDB if BDB is not compiled (Andrew Chow)
1f20cac Disable wallet_descriptor.py bdb format check if BDB is not compiled (Andrew Chow)
3641597 tests: Don't make any wallets unless wallet is required (Andrew Chow)
b9b88f5 Skip legacy wallet reliant tests if BDB is not compiled (Andrew Chow)
6f36242 tests: Set descriptors default based on compilation (Andrew Chow)
Pull request description:
This PR fixes tests for when BDB is not compiled. Tests which rely on or test legacy wallet behavior are disabled and skipped when BDB is not compiled. For the components of some tests that are for legacy wallet things, those parts of the tests are skipped.
For the majority of tests, changes are made so that they can be run with either legacy wallets or descriptor wallets without materially effecting the test. Most tests only need the wallet for balance and transactions, so the type of wallet is not an important part of those tests. Additionally, some tests are wallet agnostic and modified to instead use the test framework's MiniWallet.
ACKs for top commit:
laanwj:
ACK 49797c3
ryanofsky:
Code review ACK 49797c3. Only change since last review is dropping last commit. Previous review w/ suggestions for future followup is bitcoin#20267 (review)
Tree-SHA512: 69659f8a81fb437ecbca962f4082c12835282dbf1fba7d9952f727a49e01981d749af9b09feda1c8ca737516c7d7a08ef17e782795df3fa69892d5021b41c1ed
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')
0 commit comments