Skip to content

Conversation

@pguyot
Copy link
Collaborator

@pguyot pguyot commented Nov 29, 2025

test_epmd ensured that epmd is running on CI by trying to connect to it. However, in some cases, this connection test succeeded while epmd would not be ready yet and would close the socket when trying to register. See for example this run: https://github.com/pguyot/AtomVM/actions/runs/19780234793/job/56679370750

Replace test with querying for registered nodes to ensure epmd is indeed ready.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@pguyot pguyot force-pushed the w48/make-test_epmd-more-robust branch 2 times, most recently from 4d2b6f3 to c480b1f Compare November 29, 2025 09:38
test_epmd ensured that epmd is running on CI by trying to connect to it.
However, in some cases, this connection test succeeded while epmd would
not be ready yet and would close the socket when trying to register.
See for example this run: https://github.com/pguyot/AtomVM/actions/runs/19780234793/job/56679370750

Replace test with querying for registered nodes to ensure epmd is indeed
ready.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
@pguyot pguyot force-pushed the w48/make-test_epmd-more-robust branch from c480b1f to f93e37f Compare November 29, 2025 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant