test: use MiniWallet for mempool_unbroadcast.py #24749
pull ayush933 wants to merge 1 commits into bitcoin:master from ayush933:miniwallet-mempool_unbroadcast changing 1 files +20 −25-
ayush933 commented at 8:49 pm on April 3, 2022: contributorThis PR enables one of the non-wallet functional tests (mempool_unbroadcast.py) to be run even with the Bitcoin Core wallet disabled by using the MiniWallet instead, as proposed in #20078 .
-
DrahtBot added the label Tests on Apr 3, 2022
-
in test/functional/mempool_unbroadcast.py:41 in a89cad1ac9 outdated
58 rpc_tx_hsh = node.sendrawtransaction(txFS["hex"]) 59 60 # check transactions are in unbroadcast using rpc 61 mempoolinfo = self.nodes[0].getmempoolinfo() 62- assert_equal(mempoolinfo['unbroadcastcount'], 2) 63+ assert_equal(mempoolinfo['unbroadcastcount'], 1)
MarcoFalke commented at 6:31 am on April 4, 2022:I think the test checks that the wallet also submits the tx to the unbroadcast set, so you’d have to still check the removed code paths, conditionally onis_wallet_compiled
ayush933 commented at 1:44 pm on April 4, 2022:Done.test: use MiniWallet for mempool_unbroadcast.py
This test can now be run even with the Bitcoin Core wallet disabled.
ayush933 force-pushed on Apr 4, 2022ayush933 closed this on Apr 5, 2022
ayush933 reopened this on Apr 5, 2022
MarcoFalke approvedMarcoFalke merged this on Apr 5, 2022MarcoFalke closed this on Apr 5, 2022
MarcoFalke commented at 12:27 pm on April 5, 2022: memberThe test failure is unrelated an can be ignored. It will be fixed in #24737ayush933 deleted the branch on Apr 5, 2022sidhujag referenced this in commit 7b1ad1fb15 on Apr 5, 2022MarcoFalke referenced this in commit 4c0d1fec16 on Jun 15, 2022sidhujag referenced this in commit 1630aae6a4 on Jun 15, 2022DrahtBot locked this on Apr 6, 2023Labels
Tests
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-22 18:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-22 18:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me