[SERVER-10986] Include missing update modifier jstests Created: 01/Oct/13  Updated: 11/Jul/16  Resolved: 09/Dec/13

Status: Closed
Project: Core Server
Component/s: Write Ops
Affects Version/s: 2.5.3
Fix Version/s: 2.5.5

Type: Task Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Scott Hernandez (Inactive)
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Some update modifiers only have c++ unit tests but no jstests.

In particular there are none for:

  • $mul
  • $bit
  • $min
  • $max
  • $currentDate

While these test are not strictly needed it is helpful to provide runnable tests which are easy for everyone to understand without reading C++, or the unit test framework. These tests need not be exhaustive nor repeat what already exists but they should cover the common use cases more as example of syntax and best practices.



 Comments   
Comment by Githook User [ 09/Dec/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-10986: jstest examples for new mods
Branch: master
https://github.com/mongodb/mongo/commit/9818dcb439741d0eac48a2a804297a074923874a

Generated at Thu Feb 08 03:24:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.