IntersectMBO / cardano-node

The core component that is used to participate in a Cardano decentralised blockchain.
https://cardano.org
Apache License 2.0
3.07k stars 720 forks source link

cardano-testnet | Increase socket listen timeout when starting nodes #5988

Closed carbolymer closed 2 months ago

carbolymer commented 2 months ago

Description

Sometimes on slower machines (looking at you, Hydra), the testnet nodes do not start in time resulting in an error:

Cardano node process did not start: Socket /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/./socket/pool3/sock was not created after 30 seconds. There was no output on stderr. Exception: Network.Socket.connect: <socket: 51>: does not exist (No such file or directory)

This changes gives nodes more time to open the socket.

Checklist

Note on CI

If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons. You will need to get someone with write privileges. Please contact IOG node developers to do this for you.

carbolymer commented 2 months ago

superceded by #5944