diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-06-22 21:35:43 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-08-02 16:42:39 +0300 |
commit | 42b2a953735457cbf7b62a18b89811a66e573298 (patch) | |
tree | 3e03f63b6d3d6fdd1940e60f24137a84b8a0680a /src | |
parent | 1f96be25b020a56afa330286ee4f241aa14d3983 (diff) |
test: Repeat deadlock tests
Diffstat (limited to 'src')
-rw-r--r-- | src/test/sync_tests.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/sync_tests.cpp b/src/test/sync_tests.cpp index 3ea8714f3a..36f9c9bce3 100644 --- a/src/test/sync_tests.cpp +++ b/src/test/sync_tests.cpp @@ -40,9 +40,13 @@ BOOST_AUTO_TEST_CASE(potential_deadlock_detected) RecursiveMutex rmutex1, rmutex2; TestPotentialDeadLockDetected(rmutex1, rmutex2); + // The second test ensures that lock tracking data have not been broken by exception. + TestPotentialDeadLockDetected(rmutex1, rmutex2); Mutex mutex1, mutex2; TestPotentialDeadLockDetected(mutex1, mutex2); + // The second test ensures that lock tracking data have not been broken by exception. + TestPotentialDeadLockDetected(mutex1, mutex2); #ifdef DEBUG_LOCKORDER g_debug_lockorder_abort = prev; |