Disable IBD for all boost tests

Disable IBD for all the boost unit tests, because that's the more common
(default) mode of operation. The full boost test suite passes with this
commit, both when run all together or run separately. Any future tests
that need IBD to be active can always call TestSetIBD(true).
This commit is contained in:
Larry Ruane 2021-09-30 14:28:10 -06:00
parent af6b18b3ba
commit 92d36b5a43
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ BasicTestingSetup::BasicTestingSetup(const std::string& chainName)
fCheckBlockIndex = true; fCheckBlockIndex = true;
SelectParams(chainName); SelectParams(chainName);
noui_connect(); noui_connect();
TestSetIBD(false);
} }
BasicTestingSetup::~BasicTestingSetup() BasicTestingSetup::~BasicTestingSetup()