Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-59154

Add more comprehensive time-series update document test cases

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.4, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v5.0
    • Execution Team 2021-08-23, Execution Team 2021-09-06

      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.

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            alison.lu@mongodb.com Alison Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: