mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
8810642b57test: add option to skip large re-org test in feature_block (brunoerg) Pull request description: Fixes #32877 This PR adds a config flag `--skipreorg` which is used to skip the large re-org test. According to corecheck, `feature_block` is our slowest functional test and primarily because of this large re-org test. However, this test might not be useful for the mutation analysis of some files and could be skipped to save a huge amount of time. ``` time ./build/test/functional/feature_block.py --skipreorg ./build/test/functional/feature_block.py --skipreorg 11.38s user 0.33s system 37% cpu 31.422 total time ./build/test/functional/feature_block.py ./build/test/functional/feature_block.py 25.87s user 3.53s system 56% cpu 52.317 total ``` ACKs for top commit: maflcko: review ACK8810642b57🥁 enirox001: tACK8810642– Ran tests with/without --skipreorg; saw ~40 % speedup; no regressions. theStack: Concept and code-review ACK8810642b57glozow: lgtm ACK8810642b57Tree-SHA512: 4ef38bd32b8ad8ec2b7f30c96d2fe545d920759645ff52f632699f829b64f8d26fe878f3fdd255142235edd0a740a7feb64da8f5a10d0d740ebfa46c43ae60eb
67 KiB
Executable File
67 KiB
Executable File