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

Make testfinegrained use dmypy_server #4699

Merged
merged 4 commits into from
Mar 8, 2018
Merged

Make testfinegrained use dmypy_server #4699

merged 4 commits into from
Mar 8, 2018

Conversation

msullivan
Copy link
Collaborator

Rework the fine-grained test harness to use dmypy_server for performing fine-grained updates instead of using update directly. This allows it to test the change detection logic in the server, which is actually quite fiddly.

I want to land this before landing any other changes that affect the change detection logic (such as #4623, #4664, or some in-progress work optimizing deletes).

This found one bug already running our existing test suite. I've skipped the test and filed the bug as #4698.

This does not appear to slow down the fine-grained tests any.

@msullivan msullivan requested a review from JukkaL March 7, 2018 21:18
@msullivan msullivan force-pushed the dmypy-fg-testing branch 2 times, most recently from 4402316 to fba8c4c Compare March 7, 2018 21:40
Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

LGTM! It's good to have tests that are closer to real-world use cases, and as a bonus this also cleans up the code.

@msullivan msullivan merged commit da71cde into master Mar 8, 2018
@msullivan msullivan deleted the dmypy-fg-testing branch March 9, 2018 23:03
yedpodtrzitko pushed a commit to kiwicom/mypy that referenced this pull request Mar 15, 2018
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