FAForever / FAForever/server

Integration test flakiness

Open
#772 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
72
Forks
84
Avg merge
5h 11m
Merged PRs (30d)
1

Description

In a recent PR of mine I had a handful of integration tests fail on me intermittently when run by GitHub Actions; they passed fine locally. The errors seem related to connecting to rabbitmq, but that might just be a symptom of something else.

[In one run](https://github.com/FAForever/server/runs/2328008597) `tests/integration_tests/test_control_server.py::test_game` and `tests/integration_tests/test_control_server.py::test_players` gave the following error: `OSError: [Errno 99] error while attempting to bind on address ('10.1.1.42', 4001): cannot assign requested address`.

[In another run](https://github.com/FAForever/server/runs/2332149681) `tests/integration_tests/test_matchmaker.py::test_game_matchmaking_close_fa_and_requeue` failed with `ConnectionRefusedError: [Errno 111] Connect call failed ('127.0.0.1', 5672)`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.