diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-04-22 10:52:05 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-04-22 10:52:40 -0400 |
commit | a7a6f1ff417abc2452a2a2b9edcd2f12d6c14441 (patch) | |
tree | 35e4072eb47d8af712986a128359566a0d64c745 /contrib | |
parent | 5dcb0615898216c503e965a01d855a5999a586b5 (diff) | |
parent | fa1fdb02fccd0f670f7b08ee61c249f04d0db17f (diff) |
Merge #18575: bench: Remove requirement that all benches use same testing setup
fa1fdb02fccd0f670f7b08ee61c249f04d0db17f bench: Replace ::mempool globabl with test_setup.mempool (MarcoFalke)
fab117096446ab63d1f38c1ef6edbc94a5d4ab52 bench: Remove requirement that all benches use RegTestingSetup (MarcoFalke)
Pull request description:
The benches have always set up one global testing setup. This makes it hard to pick no testing setup at all or one with different params.
Fix this by removing any global state setup from the main `bench.cpp` and leave the setup to each individual bench.
One reason to have one global testing setup is to set the datadir location to a tempdir to avoid reading or writing in the default datadir location. But #13687 should prevent this already.
Top commit has no ACKs.
Tree-SHA512: 7c98aea7725a20f4b9225221f4279b9e9f7257ed5c14712ad01ea80d87c3b0fed760b40f413892498bbb354a917ee02d4c575cbe8423a403b86755e8ee11f33b
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions