Skip to content

Commit

Permalink
test: add missing debug log assertion in p2p_invalid_messages.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Oct 24, 2024
1 parent bd2fe61 commit 4cce72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/p2p_invalid_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def test_checksum(self):
def test_size(self):
self.log.info("Test message with oversized payload disconnects peer")
conn = self.nodes[0].add_p2p_connection(P2PDataStore())
with self.nodes[0].assert_debug_log(['']):
with self.nodes[0].assert_debug_log(['Header error: Size too large (badmsg, 3145729 bytes)']):
msg = msg_unrecognized(str_data="d"*(VALID_DATA_LIMIT + 1))
msg = conn.build_message(msg)
conn.send_raw_message(msg)
Expand Down

0 comments on commit 4cce72f

Please sign in to comment.