Skip to content

Fix test flakes in various testsuites (backport #13470) (backport #13717) #13719

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 9, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Apr 9, 2025

dumbbell added 5 commits April 9, 2025 10:49
[Why]
Many tests do not clean up their connections if they encounter a
failure. This affects subsequent testcases negatively.

(cherry picked from commit 97da746)
(cherry picked from commit 5c0d16e)
[Why]
This helps debugging.

(cherry picked from commit 28870f3)
(cherry picked from commit 3827f7b)
[Why]
We sometimes hit the 1-minute timetrap in CI even though the tests are
running fine.

(cherry picked from commit 43916da)
(cherry picked from commit 3e5c254)
(cherry picked from commit 0e7f92a)
(cherry picked from commit c83ed19)
[Why]
The CLI sometimes crashes early because it fails to configure the Erlang
distribution.

Because we use two CLI commands to watch the start of RabbitMQ, if one
of them fails, the Make recipe will exit with an error, leaving the
RabbitMQ node running.

[How]
We use a shell trap to stop the node if the shell is about to exit with
an error.

While here, we retry the `await_startup` CLI command several times
because this is the one failing the most. This is until the crash is
understood and a proper fix is committed.

(cherry picked from commit 3a278e7)
(cherry picked from commit 88958f3)
@mergify mergify bot added the make label Apr 9, 2025
@dumbbell dumbbell merged commit 5615fd3 into v4.0.x Apr 9, 2025
268 checks passed
@dumbbell dumbbell deleted the mergify/bp/v4.0.x/pr-13717 branch April 9, 2025 13:08
@dumbbell dumbbell added this to the 4.0.9 milestone Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant