We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b383609 commit 3b7a739Copy full SHA for 3b7a739
src/test/checkqueue_tests.cpp
@@ -17,7 +17,17 @@
17
#include <utility>
18
#include <vector>
19
20
-BOOST_FIXTURE_TEST_SUITE(checkqueue_tests, TestingSetup)
+/**
21
+ * Identical to TestingSetup but excludes lock contention logging, as some of
22
+ * these tests are designed to be heavily contested to trigger race conditions
23
+ * or other issues.
24
+ */
25
+struct NoLockLoggingTestingSetup : public TestingSetup {
26
+ NoLockLoggingTestingSetup()
27
+ : TestingSetup{CBaseChainParams::MAIN, /*extra_args=*/{"-debugexclude=lock"}} {}
28
+};
29
+
30
+BOOST_FIXTURE_TEST_SUITE(checkqueue_tests, NoLockLoggingTestingSetup)
31
32
static const unsigned int QUEUE_BATCH_SIZE = 128;
33
static const int SCRIPT_CHECK_THREADS = 3;
0 commit comments