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

Categorize some stubgen tests as slow tests #6340

Merged
merged 1 commit into from
Feb 5, 2019
Merged

Categorize some stubgen tests as slow tests #6340

merged 1 commit into from
Feb 5, 2019

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Feb 5, 2019

This allows pytest to parallelize tests more effectively and
seems to make the test suite faster by ~5 seconds or so on my
Linux desktop.

These can use typeshed so they are not fast tests.

Some of the StubgenPython tests are fast but others aren't. I'm
classifying them as slow since it looks like this is generally
better for scheduling, but it might be even better to split the
suite into fast and slow parts.

This allows pytest to parallelize tests more effectively and
seems to make the test suite faster by ~5 seconds or so on my
Linux desktop.

These can use typeshed so they are not fast tests.

Some of the StubgenPython tests are fast but others aren't. I'm
classifying them as slow since it looks like this is generally
better for scheduling, but it might be even better to split the
suite into fast and slow parts.
Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

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

Sure.

@JukkaL JukkaL merged commit 615c207 into master Feb 5, 2019
@gvanrossum gvanrossum deleted the test-perf branch February 5, 2019 21:49
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.

2 participants