Skip to content
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

Prevent tests from running endlessly in Github actions #226

Closed
kloV148 opened this issue Mar 13, 2024 · 0 comments · Fixed by #227
Closed

Prevent tests from running endlessly in Github actions #226

kloV148 opened this issue Mar 13, 2024 · 0 comments · Fixed by #227

Comments

@kloV148
Copy link
Contributor

kloV148 commented Mar 13, 2024

Problem

Sometimes tests can't be completed and github workflow freezes.
telegram-cloud-photo-size-2-5444944742715611178-y

Solution

Run tests in single thread mode (add flag --no-threads for example). Also this solution can improve performance.
This is a known vitest problem (vitest-dev/vitest#3077).

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 a pull request may close this issue.

1 participant