aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2018-08-26 10:18:39 -0400
committerMarcoFalke <[email protected]>2018-08-26 10:18:06 -0400
commitfaf4a9b674186923f8c837e3621d147f504c1944 (patch)
treee673b6415c0dee4fd0d023454f1935eb1eaa0bfc /src/test
parentUse assert when running from multithreaded code as BOOST_CHECK_* are not thre... (diff)
downloaddiscoin-faf4a9b674186923f8c837e3621d147f504c1944.tar.xz
discoin-faf4a9b674186923f8c837e3621d147f504c1944.zip
qa: Stop txindex thread before calling destructor
Diffstat (limited to 'src/test')
-rw-r--r--src/test/txindex_tests.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/txindex_tests.cpp b/src/test/txindex_tests.cpp
index be7ee2428..2a160b998 100644
--- a/src/test/txindex_tests.cpp
+++ b/src/test/txindex_tests.cpp
@@ -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()