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

fix(parallel): minimize the number of beforeAll/afterAll hooks in parallel mode #13138

Merged
merged 1 commit into from Mar 28, 2022

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Mar 28, 2022

Previously, we always formed groups consisting of a single test. Now, we group tests that share beforeAll/afterAll hooks into config.workers equally-sized groups.

Fixes #13099.

…allel mode

Previously, we always formed groups consisting of a single test.
Now, we group tests that share `beforeAll`/`afterAll` hooks into
`config.workers` equally-sized groups.
@dgozman dgozman merged commit d59c2b9 into microsoft:main Mar 28, 2022
dgozman added a commit to dgozman/playwright that referenced this pull request Mar 28, 2022
…eforeAll/afterAll hooks in parallel mode

Previously, we always formed groups consisting of a single test.
Now, we group tests that share `beforeAll`/`afterAll` hooks into
`config.workers` equally-sized groups.
dgozman added a commit to dgozman/playwright that referenced this pull request Mar 29, 2022
…eforeAll/afterAll hooks in parallel mode

Previously, we always formed groups consisting of a single test.
Now, we group tests that share `beforeAll`/`afterAll` hooks into
`config.workers` equally-sized groups.
dgozman added a commit that referenced this pull request Mar 29, 2022
…afterAll hooks in parallel mode (#13140)

Previously, we always formed groups consisting of a single test.
Now, we group tests that share `beforeAll`/`afterAll` hooks into
`config.workers` equally-sized groups.
liuxingbaoyu pushed a commit to liuxingbaoyu/playwright that referenced this pull request Mar 30, 2022
…allel mode (microsoft#13138)

Previously, we always formed groups consisting of a single test.
Now, we group tests that share `beforeAll`/`afterAll` hooks into
`config.workers` equally-sized groups.
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 this pull request may close these issues.

[BUG] beforeAll is called before each test (fullyParallel)
2 participants