Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pytest: disable automatic reconnection.
We seem to hit a race between manual reconnect (with address hint) and an automatic reconnection attempt which fails: ``` > l4.rpc.connect(l3.info['id'], 'localhost', l3.port) ... E pyln.client.lightning.RpcError: RPC call failed: method: connect, payload: {'id': '035d2b1192dfba134e10e540875d366ebc8bc353d5aa766b80c090b39c3a5d885d', 'host': 'localhost', 'port': 41285}, error: {'code': 401, 'message': 'All addresses failed: 127.0.0.1:36678: Connection establishment: Connection refused. '} ``` See how it didn't even try the given address? Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information