aboutsummaryrefslogtreecommitdiff
path: root/src/test/sync_tests.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-05-27 13:51:11 +0800
committerfanquake <fanquake@gmail.com>2021-05-28 19:14:09 +0800
commitef8bb0473be62c07f96eb269b927dcec86c1e862 (patch)
tree5b536cccab8dba98543d99183afe23066aeaaf17 /src/test/sync_tests.cpp
parent1aee83421fe2128757b48f6317a3e7fed784adb6 (diff)
test: remove BasicTestingSetup from sync unit tests
Diffstat (limited to 'src/test/sync_tests.cpp')
-rw-r--r--src/test/sync_tests.cpp3
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)
{