qa: Stop txindex thread before calling destructor

Github-Pull: #14071
Rebased-From: faf4a9b674
This commit is contained in:
MarcoFalke 2018-08-26 10:18:39 -04:00
parent b5ec6d4bf8
commit fab0fbefcf

View file

@ -61,6 +61,8 @@ BOOST_FIXTURE_TEST_CASE(txindex_initial_sync, TestChain100Setup)
BOOST_ERROR("Read incorrect tx");
}
}
txindex.Stop(); // Stop thread before calling destructor
}
BOOST_AUTO_TEST_SUITE_END()