Skip to content

Commit 21c8eaf

Browse files
cdeckerniftynei
authored andcommitted
pytest: Check for null access warnings in tests
1 parent 396e822 commit 21c8eaf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/fixtures.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ def map_node_error(nodes, f, msg):
186186
map_node_error(nf.nodes, checkBadGossip, "had bad gossip messages")
187187
map_node_error(nf.nodes, lambda n: n.daemon.is_in_log('Bad reestablish'), "had bad reestablish")
188188
map_node_error(nf.nodes, lambda n: n.daemon.is_in_log('bad hsm request'), "had bad hsm requests")
189+
map_node_error(nf.nodes, lambda n: n.daemon.is_in_log(r'Accessing a null column'), "Accessing a null column")
189190
map_node_error(nf.nodes, checkMemleak, "had memleak messages")
190191

191192
if not ok:

0 commit comments

Comments
 (0)