[SERVER-61104] Robustify find_and_modify_invalid_query_params.js Created: 29/Oct/21 Updated: 29/Oct/23 Resolved: 05/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0, 5.0.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Rishab Joshi (Inactive) | Assignee: | Rishab Joshi (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v5.0
|
||||||||
| Participants: | |||||||||
| Linked BF Score: | 21 | ||||||||
| Description |
|
Test caseĀ find_and_modify_invalid_query_params.js here assumes that the document that was deleted in the first document in the collection. This assumption might break when the ordering of the document in the database is not in accordance with the order of inserts of the documents. Furthermore, with operations like tenant migration, the document order might change. This ticket makes the test case more assertive and removes those assumptions. |
| Comments |
| Comment by Githook User [ 04/Mar/22 ] |
|
Author: {'name': 'Rishab Joshi', 'email': 'rishab.joshi@mongodb.com', 'username': 'rishvin'}Message: |
| Comment by Githook User [ 05/Nov/21 ] |
|
Author: {'name': 'Rishab Joshi', 'email': 'rishab.joshi@mongodb.com', 'username': 'rishvin'}Message: |