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

This commit is contained in:
Jon Atack
2021-08-18 12:29:36 +02:00
parent bb9f76a719
commit b7a17444e0
4 changed files with 5 additions and 3 deletions

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)