[SERVER-20905] Sharded find command unit-tests should validate the contents of the request Created: 13/Oct/15 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Backlog - Query Optimization |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Optimization
|
| Participants: |
| Description |
|
The current implementation of the async results merger unit tests only send responses, but never check the contents of the request are as expected (for example that they contain the correct maxTimeMS, read concern and any other values, which might be required and inadvertent changes to which should be caught). In addition, the tests must also ensure that the correct hosts are being targeted. |
| Comments |
| Comment by Kaloian Manassiev [ 03/Nov/15 ] |
|
I updated the description to have more details. |
| Comment by J Rassi [ 03/Nov/15 ] |
Kal, can you explain what you mean by this? |