[CXX-403] Do not rely on structure in the natural ordering in clientTest Created: 08/Nov/14 Updated: 13/Nov/14 Resolved: 10/Nov/14 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Testing |
| Affects Version/s: | None |
| Fix Version/s: | legacy-1.0.0-rc2 |
| Type: | Bug | Priority: | Blocker - P1 |
| Reporter: | Spencer Jackson | Assignee: | Spencer Jackson |
| Resolution: | Done | Votes: | 0 |
| Labels: | legacy-cxx | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
According to http://docs.mongodb.org/manual/reference/method/cursor.sort/#return-natural-order: "The $natural parameter returns items according to their natural order within the database. This ordering is an internal implementation feature, and you should not rely on any particular structure within it." Remove test assert which makes assumptions on the document returned by findOne({}) |
| Comments |
| Comment by Githook User [ 10/Nov/14 ] |
|
Author: {u'username': u'spencerjackson', u'name': u'Spencer Jackson', u'email': u'spencer.jackson@mongodb.com'}Message: |
| Comment by Spencer Jackson [ 08/Nov/14 ] |