-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-3142 Stop using $where in test_maxConnecting #886
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-3142 Stop using $where in test_maxConnecting #886
Conversation
Is there a way to add a unittest to ensure that this test does not fail within |
I don't want to do that because it would make this test slower and more flakey. We could "ensure the test passes at least once in n iterations" but I also don't want to do that since it would hide legitimate server or driver bugs (it would have masked this server regression). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
(cherry picked from commit 8496ed4)
Removing $where fixes the test failures.