def oversized_addr_test(self):
    self.log.info('Send an addr message that is too large')
    addr_source = self.nodes[0].add_p2p_connection(P2PInterface())
    msg = self.setup_addr_msg(1010)
    with self.nodes[0].assert_debug_log(['addr message size = 1010']):
        addr_source.send_and_ping(msg)
    self.nodes[0].disconnect_p2ps()
def oversized_addr_test(self):
    self.log.info('Send an addr message that is too large')
    addr_source = self.nodes[0].add_p2p_connection(P2PInterface())
    msg = self.setup_addr_msg(1010)
    with self.nodes[0].assert_debug_log(['addr message size = 1010']):
        addr_source.send_and_ping(msg)
    self.nodes[0].disconnect_p2ps()