log, sync: add LOCK logging category, apply it to lock contention

This commit is contained in:
Jon Atack committed 2021-08-18 19:57:15 +02:00
1 parent bb9f76a719
commit b7a17444e0
4 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ class RpcMiscTest(BitcoinTestFramework):
self.log.info("test logging rpc and help")
# Test logging RPC returns the expected number of logging categories.
assert_equal(len(node.logging()), 24)
assert_equal(len(node.logging()), 25)
# Test toggling a logging category on/off/on with the logging RPC.
assert_equal(node.logging()['qt'], True)