Put lock logging behind DEBUG_LOCKCONTENTION preprocessor directive

This commit is contained in:
Jon Atack
2022-04-01 12:23:01 +02:00
parent 7ab9fc32d6
commit 39a34b6877
6 changed files with 18 additions and 6 deletions

View File

@ -56,9 +56,6 @@ 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()), 27)
# Test toggling a logging category on/off/on with the logging RPC.
assert_equal(node.logging()['qt'], True)
node.logging(exclude=['qt'])