diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2019-10-18 11:57:10 -0700 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2019-10-23 09:27:25 +0200 |
commit | 6a91499496d76c2b3e84489e9723b60514fb08db (patch) | |
tree | 4f83d328a4fe9fcab0279a96433b8c04fb577ce1 /test/functional/p2p_invalid_messages.py | |
parent | b0e10ff4df3d4c70fb172ea8c3128c82e6e368bb (diff) |
Remove oversized message detection from log and interface
Diffstat (limited to 'test/functional/p2p_invalid_messages.py')
-rwxr-xr-x | test/functional/p2p_invalid_messages.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/functional/p2p_invalid_messages.py b/test/functional/p2p_invalid_messages.py index 8fcf5b878f..f0ceb8e6a3 100755 --- a/test/functional/p2p_invalid_messages.py +++ b/test/functional/p2p_invalid_messages.py @@ -101,11 +101,10 @@ class InvalidMessagesTest(BitcoinTestFramework): msg_over_size = msg_unrecognized(str_data="b" * (valid_data_limit + 1)) assert len(msg_over_size.serialize()) == (msg_limit + 1) - with node.assert_debug_log(["Oversized message from peer=4, disconnecting"]): - # An unknown message type (or *any* message type) over - # MAX_PROTOCOL_MESSAGE_LENGTH should result in a disconnect. - node.p2p.send_message(msg_over_size) - node.p2p.wait_for_disconnect(timeout=4) + # An unknown message type (or *any* message type) over + # MAX_PROTOCOL_MESSAGE_LENGTH should result in a disconnect. + node.p2p.send_message(msg_over_size) + node.p2p.wait_for_disconnect(timeout=4) node.disconnect_p2ps() conn = node.add_p2p_connection(P2PDataStore()) |