This patch disables lock contention logging in the checkqueue_tests as some of these tests are designed to be heavily contested to trigger race conditions or other issues. This created very large log files when run with DEBUG_LOCKCONTENTION defined (up to v22) or with lock logging enabled by default in current master.
Examples running the following command:
0$ ./src/test/test_bitcoin -t checkqueue_tests/test_CheckQueue_Correct_Random -- DEBUG_LOG_OUT > testlog.txt
1
2-rw-r--r--   87042178 Oct  8 12:41 testlog-with-DEBUG_LOCKCONTENTION-at-v22-run1.txt
3-rw-r--r--   73879896 Oct  8 12:42 testlog-with-DEBUG_LOCKCONTENTION-at-v22-run2.txt
4-rw-r--r--   65150518 Oct  8 12:51 testlog-with-DEBUG_LOCKCONTENTION-at-bb9f76a-run1.txt
5-rw-r--r--   65774554 Oct  8 12:52 testlog-with-DEBUG_LOCKCONTENTION-at-bb9f76a-run2.txt
6-rw-r--r--   73493309 Oct  8 13:00 testlog-current-master-at-991753e-run1.txt
7-rw-r--r--   65616977 Oct  8 13:01 testlog-current-master-at-991753e-run2.txt
8-rw-r--r--       5093 Oct  8 13:04 testlog-with-this-commit-run1.txt
9-rw-r--r--       5093 Oct  8 13:05 testlog-with-this-commit-run2.txt
Resolves #23167.
