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

🧹 chore: make most tests parallel #2299

Merged
merged 5 commits into from
Jan 15, 2023
Merged

🧹 chore: make most tests parallel #2299

merged 5 commits into from
Jan 15, 2023

Conversation

efectn
Copy link
Member

@efectn efectn commented Jan 15, 2023

Description

Fixes #2254
Note: Some of tests not still parallel since they have some problems. Maybe we refactor them in the future.

Type of change

  • Just test refactoring

Checklist:

  • I have performed a self-review of my own code
  • I have added tests that prove my fix is effective or that my feature works

Commit formatting:

Use emojis on commit messages so it provides an easy way of identifying the purpose or intention of a commit. Check out the emoji cheatsheet here: https://gitmoji.carloscuesta.me/

@gaby
Copy link
Member

gaby commented Jan 15, 2023

I started working on #2254 but tests were failing randomly when using t.Parallel() in all of them.

@efectn
Copy link
Member Author

efectn commented Jan 15, 2023

I started working on #2254 but tests were failing randomly when using t.Parallel() in all of them.

Yeah. Some tests -especially prefork tests- not working with parallel. I think we don't need to run them parallel. Currently tests are already faster than master.

Copy link
Member

@gaby gaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🚀 Feature: Make all tests run using "t.Parallel()"
3 participants