test: scripted-diff cleanups after generate* changes #23474
pull MarcoFalke wants to merge 4 commits into bitcoin:master from MarcoFalke:2107-testSync changing 178 files +179 −340-
MarcoFalke commented at 9:46 am on November 9, 2021: memberSome cleanups after commit 94db963de501e4aba6e5d8150a01ceb85753dee1
-
in test/functional/feature_blockfilterindex_prune.py:27 in fa88b30855 outdated
25@@ -26,9 +26,7 @@ def run_test(self): 26 assert_greater_than(len(self.nodes[0].getblockfilter(self.nodes[0].getbestblockhash())['filter']), 0) 27 # Mine two batches of blocks to avoid hitting NODE_NETWORK_LIMITED_MIN_BLOCKS disconnection
MarcoFalke commented at 9:53 am on November 9, 2021:This is wrong
MarcoFalke commented at 10:26 am on November 9, 2021:Ok, actually it doesn’t matter: #23365 (review)DrahtBot added the label Tests on Nov 9, 2021in test/functional/feature_backwards_compatibility.py:69 in fa6c996486 outdated
65@@ -66,8 +66,6 @@ def setup_nodes(self): 66 def run_test(self): 67 self.generatetoaddress(self.nodes[0], COINBASE_MATURITY + 1, self.nodes[0].getnewaddress()) 68 69- self.sync_blocks()
benthecarman commented at 11:22 pm on November 9, 2021:commit fa6c9964860cd154cf40aff74dfa038aa6006de0 says to removesync_all
but you are removingsync_blocks
as well
MarcoFalke commented at 9:14 am on November 10, 2021:Thanks, adjusted the commit subjectDrahtBot commented at 3:07 am on November 10, 2021: memberThe following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #23365 (index: Fix backwards search for bestblock by mzumsande)
- #23127 (tests: Use test framework utils where possible by vincenzopalazzo)
- #23075 (refactoring: Fee estimation functional test cleanups by darosior)
- #22364 (wallet: Make a tr() descriptor by default by achow101)
- #21726 (Improve Indices on pruned nodes via prune blockers by fjahr)
- #21283 (Implement BIP 370 PSBTv2 by achow101)
- #10102 (Multiprocess bitcoin by ryanofsky)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
fanquake commented at 7:47 am on November 10, 2021: memberConcept ACKtest: Use 4 spaces for indentation faeff57709MarcoFalke force-pushed on Nov 10, 2021test: Properly set sync_fun in NodeNetworkLimitedTest fad13991aescripted-diff: Remove redundant sync_all and sync_blocks
The sync calls are redundant after a call to generate, because generate already syncs itself. -BEGIN VERIFY SCRIPT- perl -0777 -pi -e 's/(generate[^\n]*\)[^\n]*)(\n|\s)+self.sync_(all|blocks)\([^\)]*\)\n/\1\n/g' $(git grep -l generate ./test) -END VERIFY SCRIPT-
scripted-diff: Bump copyright headers
The previous diff touched most files in ./test/, so bump the headers to avoid having to touch them again for a bump later. -BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./test/ -END VERIFY SCRIPT-
MarcoFalke force-pushed on Nov 10, 2021theStack commented at 4:30 pm on November 10, 2021: memberConcept ACKfanquake approvedfanquake commented at 3:21 am on November 16, 2021: memberACK fac23c211407a77af82bb1491c48c8d37022c8b3fanquake merged this on Nov 16, 2021fanquake closed this on Nov 16, 2021
MarcoFalke deleted the branch on Nov 16, 2021sidhujag referenced this in commit 808366cc23 on Nov 16, 2021DrahtBot locked this on Nov 17, 2022
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-17 12: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-17 12: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