[SERVER-72460] sorted_data_interface_test_XXX tests need refactoring Created: 02/Jan/23 Updated: 20/Jan/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Geert Bosch | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Storage Execution
|
| Operating System: | ALL |
| Participants: |
| Description |
|
There is a lot of repeated test setup that should be factored out, either using a TEST_F fixture, or by calling helper methods. There are a lot of cases with different index types (unique, non-unique, _id unique) and conditions (end point set / not set, iterating with KeyString interface vs not), etc. The goal of the refactoring should be to make it clearer what we test, and ideally fixing unintentional omissions. |