MCPcopy Create free account
hub / github.com/ElementsProject/lightning / test_reconnect_normal

Function test_reconnect_normal

tests/test_connection.py:785–794  ·  view source on GitHub ↗
(node_factory)

Source from the content-addressed store, hash-verified

783@pytest.mark.openchannel('v1')
784@pytest.mark.openchannel('v2')
785def test_reconnect_normal(node_factory):
786 # Should reconnect fine even if locked message gets lost.
787 disconnects = ['-WIRE_CHANNEL_READY',
788 '+WIRE_CHANNEL_READY']
789 l1 = node_factory.get_node(disconnect=disconnects,
790 may_reconnect=True)
791 l2 = node_factory.get_node(may_reconnect=True)
792 l1.rpc.connect(l2.info['id'], 'localhost', l2.port)
793
794 l1.fundchannel(l2, 10**6)
795
796
797@pytest.mark.openchannel('v1')

Callers

nothing calls this directly

Calls 3

get_nodeMethod · 0.45
connectMethod · 0.45
fundchannelMethod · 0.45

Tested by

no test coverage detected