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 SetCursorTimeout. See https://jira.mongodb.org/browse/SERVER-24899 #295

Open
wants to merge 2 commits into
base: v2-unstable
Choose a base branch
from

Conversation

BenLubar
Copy link

@BenLubar BenLubar commented Jul 6, 2016

Tailable, AwaitData, and NoCursorTimeout were not set, and for some reason MongoDB has two copies of each flag. And it was looking at the other set.

@BenLubar
Copy link
Author

BenLubar commented Jul 7, 2016

@niemeyer it looks like one of the Travis builds failed because a port was already in use.

@niemeyer
Copy link
Contributor

Thanks!

Just restarted the failing test.

Speaking of tests, can we have a test that breaks so we can be sure these changes are doing what we want them to do in the future?

@BenLubar
Copy link
Author

You had a test case for cursors that are supposed to time out, but no test case for cursors that aren't supposed to time out.

@niklaskorz
Copy link

Any reason this hasn't been merged yet? The behavior for no timeout can't get any more broken than it currently is, no matter if there's a test for no timeout.

@bigodines
Copy link

Is there anything missing to this PR to get it merged?

fmpwizard added a commit to ascendantcompliance/mgo that referenced this pull request Oct 26, 2017
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.

4 participants