diff options
author | fanquake <fanquake@gmail.com> | 2021-05-27 13:51:11 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-05-28 19:14:09 +0800 |
commit | ef8bb0473be62c07f96eb269b927dcec86c1e862 (patch) | |
tree | 5b536cccab8dba98543d99183afe23066aeaaf17 /src/test | |
parent | 1aee83421fe2128757b48f6317a3e7fed784adb6 (diff) | |
download | bitcoin-ef8bb0473be62c07f96eb269b927dcec86c1e862.tar.xz |
test: remove BasicTestingSetup from sync unit tests
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/sync_tests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/sync_tests.cpp b/src/test/sync_tests.cpp index 3e4d1dac9e..f5a8fc3aa6 100644 --- a/src/test/sync_tests.cpp +++ b/src/test/sync_tests.cpp @@ -8,6 +8,7 @@ #include <boost/test/unit_test.hpp> #include <mutex> +#include <stdexcept> namespace { template <typename MutexType> @@ -76,7 +77,7 @@ void TestInconsistentLockOrderDetected(MutexType& mutex1, MutexType& mutex2) NO_ } } // namespace -BOOST_FIXTURE_TEST_SUITE(sync_tests, BasicTestingSetup) +BOOST_AUTO_TEST_SUITE(sync_tests) BOOST_AUTO_TEST_CASE(potential_deadlock_detected) { |