[SERVER-85687] Add missing accumulators jstests Created: 24/Jan/24 Updated: 02/Feb/24 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mariano Shaar | Assignee: | Backlog - Query Integration |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | qi-tech-debt, qi-testing | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Query Integration
|
||||
| Participants: | |||||
| Description |
|
While working on SERVER-85376 I noticed a lack of jstests for accumulators. Inside of jstests/aggregation/accumulators there is no merge_objects.js for example, and while it is inside of jstests/aggregation/expressions this is different expected behavior. There are some other files that do use $mergeObjects as an accumulator, e.g. jstests/aggregation/sources/setWindowFields/parse.js uses it inside of $setWindowFields, but the examples and the tested behavior is limited. |