Skip to content

Conversation

d4l3k
Copy link
Member

@d4l3k d4l3k commented Dec 6, 2024

This adds a basic Manager E2E test that spins up a lighthouse server to test with.

This also refactor the code so it's possible to bind lighthouse and manager to port 0 and fetch the port afterwards. This makes writing tests easier as they instead grab the first ephemeral port rather than a well known port.

Test plan:

cargo fmt
cargo test

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 6, 2024
@d4l3k d4l3k changed the title manager: added E2E tests and support getting ligthhouse and manager addresses manager: added E2E tests and support getting lighthouse and manager addresses Dec 6, 2024
@d4l3k d4l3k force-pushed the d4l3k/manager_tests branch from 0964287 to 214b7c6 Compare December 6, 2024 23:35
@d4l3k d4l3k merged commit ddbc3c9 into main Dec 7, 2024
6 checks passed
@d4l3k d4l3k deleted the d4l3k/manager_tests branch December 7, 2024 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants