-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Mix unit tests are flaky #14463
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
Comments
On main you can set |
That solves only some of the problems:
(via https://gitlab.alpinelinux.org/wejn/aports/-/jobs/1832574) But looks like I don't have perms to reopen this issue... |
And:
(via https://gitlab.alpinelinux.org/wejn/aports/-/jobs/1832578) |
I was going to reopen it but you opening a new one also works. I will look into those two :) |
Elixir and Erlang/OTP versions
Erlang 26.2.5.11-r0
Elixir 1.18.3
Operating system
Linux (alpine linux CI)
Current behavior
The mix test intermittently fails with:
or:
on some platforms:
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/83550/pipelines
(namely https://gitlab.alpinelinux.org/wejn/aports/-/pipelines/321039, https://gitlab.alpinelinux.org/wejn/aports/-/pipelines/321033, https://gitlab.alpinelinux.org/wejn/aports/-/pipelines/321031)
For now the workaround I've added keeps the intermittent failures to a minimum (as the
lib/mix/test/mix/sync/*_test.exs
are the main offenders).Expected behavior
No intermittent failures, even on slower systems (heavily loaded CI).
The text was updated successfully, but these errors were encountered: