We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
p2p_invalid_messages.py
1 parent bd2fe61 commit 4cce72fCopy full SHA for 4cce72f
test/functional/p2p_invalid_messages.py
@@ -118,7 +118,7 @@ def test_checksum(self):
118
def test_size(self):
119
self.log.info("Test message with oversized payload disconnects peer")
120
conn = self.nodes[0].add_p2p_connection(P2PDataStore())
121
- with self.nodes[0].assert_debug_log(['']):
+ with self.nodes[0].assert_debug_log(['Header error: Size too large (badmsg, 3145729 bytes)']):
122
msg = msg_unrecognized(str_data="d"*(VALID_DATA_LIMIT + 1))
123
msg = conn.build_message(msg)
124
conn.send_raw_message(msg)
0 commit comments