Page MenuHomePhabricator

[backport#17342][tests] Don't use nScriptCheckThreads in the checkqueue_tests
ClosedPublic

Authored by majcosta on Aug 31 2020, 20:08.

Details

Summary

It's only needed for a hardcoded int, which we can define locally.

Note from Backporter: Core's description of this is indeed somewhat confusing. nScriptCheckThreads is removed in the next commit.

https://github.com/bitcoin/bitcoin/pull/17342/commits/d9957623b48a7c3eff0ac750d1245fabfb1843a2


Partial backport of Core PR17342

Test Plan
ninja check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

jasonbcox requested changes to this revision.Aug 31 2020, 21:20
jasonbcox added a subscriber: jasonbcox.

It's not clear from the Github history whether this commit was outdated from the start or what, but the commit message does not match the patch. There is some indication that the refactor took a turn for a better design though. Please fix this otherwise it's just confusing in our own git history.

This revision now requires changes to proceed.Aug 31 2020, 21:20
majcosta retitled this revision from [backport#17342][tests] Don't use TestingSetup in the checkqueue_tests to [backport#17342][tests] Don't use nScriptCheckThreads in the checkqueue_tests.
majcosta edited the summary of this revision. (Show Details)

indeed this is confusing, hope it's clearer now

This revision is now accepted and ready to land.Aug 31 2020, 22:08