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

Python: Quarantine slow tests into their own CI run #4558

Merged
merged 1 commit into from
Dec 22, 2021

Conversation

jurre
Copy link
Member

@jurre jurre commented Dec 22, 2021

These tests have not been wearing masks, and to avoid them infecting the
other tests we need to quarantine them.

Jokes aside, splitting these slow tests off into their own CI run should
reduce the overall time we have to wait on CI to pass, and it gives us
some indication on which tests we might want to try to speed up going
forward.

So far I've split off the ~10 slowest tests, which according to rspec
take 40% of the total time to run these tests!

We can move more things into the slow suite, but I'd like to avoid
having the majority of the tests live there, because then we'd still end
up with one very slow suite.

@jurre jurre requested a review from a team as a code owner December 22, 2021 16:25
@jurre jurre force-pushed the jurre/quarantine-slow-tests branch from 59dd888 to e0bdf7a Compare December 22, 2021 16:26
Copy link
Contributor

@brrygrdn brrygrdn left a comment

Choose a reason for hiding this comment

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

I like this approach, I think it's a really pragmatic way to deal with the issue 👍🏻

I also think this is a better approach than using a build-matrix balancing rspec extension as that would just result in us running an increasingly large number of workers in parallel which doesn't get to the root of the problem.

These tests have not been wearing masks, and to avoid them infecting the
other tests we need to quarantine them.

Jokes aside, splitting these slow tests off into their own CI run should
reduce the overall time we have to wait on CI to pass, and it gives us
some indication on which tests we might want to try to speed up going
forward.

So far I've split off the ~10 slowest tests, which according to rspec
take 40% of the total time to run these tests!

We can move more things into the slow suite, but I'd like to avoid
having the majority of the tests live there, because then we'd still end
up with one very slow suite.
@jurre jurre force-pushed the jurre/quarantine-slow-tests branch from e0bdf7a to c1f62e8 Compare December 22, 2021 17:21
Copy link
Member

@landongrindheim landongrindheim left a comment

Choose a reason for hiding this comment

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

🙌

@jurre jurre merged commit 87eafc1 into main Dec 22, 2021
@jurre jurre deleted the jurre/quarantine-slow-tests branch December 22, 2021 17:48
@mctofu mctofu mentioned this pull request Jan 5, 2022
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.

3 participants