[SERVER-59154] Add more comprehensive time-series update document test cases Created: 06/Aug/21  Updated: 29/Oct/23  Resolved: 30/Aug/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.4, 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Alison Lu (Inactive) Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Execution Team 2021-08-23, Execution Team 2021-09-06
Participants:

 Description   

We should add more comprehensive test cases to timeseries_update.js. Some example tests to add:

  • Query using comparison, logical, element, evaluation, and array query selectors.
  • Currently the updates in the update document test cases only use the $set, $unset, and $inc update operators. We should add more tests that update using update operators such as $min, $max, $mul, and $rename.
  • Perform an update that removes the metaField.
  • Update documents with nested objects and arrays in order to test array operators and the positional $ operator.


 Comments   
Comment by Githook User [ 07/Oct/21 ]

Author:

{'name': 'Alison Lu', 'email': 'alison.lu@mongodb.com', 'username': 'alison-lu'}

Message: SERVER-59154 Add more comprehensive time-series update test cases

Co-authored-by: Gregory Noma <gregory.noma@gmail.com>
(cherry picked from commit 3941867aa74ff84713674add7b4d2aab44c07ca0)
Branch: v5.0
https://github.com/mongodb/mongo/commit/1e19868b3d3884c2b9e7d2d21619bc0306987dd4

Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 30/Aug/21 ]

Author:

{'name': 'Alison Lu', 'email': 'alison.lu@mongodb.com', 'username': 'alison-lu'}

Message: SERVER-59154 Add more comprehensive time-series update test cases

Co-authored-by: Gregory Noma <gregory.noma@gmail.com>
Branch: master
https://github.com/mongodb/mongo/commit/3941867aa74ff84713674add7b4d2aab44c07ca0

Generated at Thu Feb 08 05:46:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.