Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make test cases more robust by not using natural ordering #144

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

Merged
jenssegers merged 1 commit into mongodb:master from neoxia:master-test-robustness
Mar 4, 2014
Merged

Make test cases more robust by not using natural ordering #144

jenssegers merged 1 commit into mongodb:master from neoxia:master-test-robustness
Mar 4, 2014

Conversation

@alexandre-butynski
Copy link
Contributor

@alexandre-butynski alexandre-butynski commented Mar 4, 2014

When we don't set an order in a query, the natural order is used. Most of the times, it represents the insertion order but it's not reliable. I don't know why but, in my configuration, I can't trust this ordering.

More explanations in the MongoDB doc : http://docs.mongodb.org/manual/reference/glossary/#term-natural-order

jenssegers added a commit that referenced this pull request Mar 4, 2014
Make test cases more robust by not using natural ordering
@jenssegers jenssegers merged commit 8ea8b96 into mongodb:master Mar 4, 2014
Copy link
Contributor

Thanks!

@alexandre-butynski alexandre-butynski deleted the master-test-robustness branch March 4, 2014 11:14
mnphpexpert added a commit to mnphpexpert/laravel-mongodb that referenced this pull request Sep 2, 2024
Make test cases more robust by not using natural ordering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /