[SERVER-31167] Add document validation tests for $jsonSchema Created: 19/Sep/17  Updated: 30/Oct/23  Resolved: 11/Oct/17

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.6.0-rc0

Type: Task Priority: Major - P3
Reporter: Kyle Suarez Assignee: Kyle Suarez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2017-10-02, Query 2017-10-23
Participants:

 Description   

We need to write more integration tests involving $jsonSchema and document validators:

  • insertion tests with a $jsonSchema validator
  • update tests with a $jsonSchema validator
  • auth tests that exercise bypassDocumentValidation with a $jsonSchema validator

We can expand the assertSchemaMatch() shell helper to give us coverage for some of these scenarios.



 Comments   
Comment by Githook User [ 11/Oct/17 ]

Author:

{'email': 'kyle.suarez@mongodb.com', 'name': 'Kyle Suarez', 'username': 'ksuarz'}

Message: SERVER-31167 add document validation tests for $jsonSchema
Branch: master
https://github.com/mongodb/mongo/commit/fc249a3d97370dcaa4a6fd8c58f116bfca71283f

Generated at Thu Feb 08 04:26:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.