pytest: Check for null access warnings in tests

This commit is contained in:
Christian Decker 2019-10-20 23:34:12 +02:00 committed by neil saitug
parent 396e8224fa
commit 21c8eaf105
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ def node_factory(request, directory, test_name, bitcoind, executor, db_provider,
map_node_error(nf.nodes, checkBadGossip, "had bad gossip messages")
map_node_error(nf.nodes, lambda n: n.daemon.is_in_log('Bad reestablish'), "had bad reestablish")
map_node_error(nf.nodes, lambda n: n.daemon.is_in_log('bad hsm request'), "had bad hsm requests")
map_node_error(nf.nodes, lambda n: n.daemon.is_in_log(r'Accessing a null column'), "Accessing a null column")
map_node_error(nf.nodes, checkMemleak, "had memleak messages")
if not ok: