[SERVER-23872] Check all writes succeed in where4.js Created: 22/Apr/16  Updated: 16/May/16  Resolved: 26/Apr/16

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.3.6

Type: Improvement Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Tess Avitabile (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Query 13 (04/22/16), Query 14 (05/13/16)
Participants:
Linked BF Score: 0

 Description   

We should check that all writes succeed in where4.js, in order to make build failures more diagnosable. Additionally, we can make the following improvements to the test:

1) Make the test use its own database, to prevent conflict with other tests that use the system.js collection.

2) Remove the insertion and deletion of {_id: "w4", value: "5"} in the system.js collection, since it serves no clear purpose.

3) Instead of deleting {_id: "where4_equalsOne"} from the system.js collection, delete {_id: "where4_addOne"}, since this is the function that was added.



 Comments   
Comment by Githook User [ 26/Apr/16 ]

Author:

{u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}

Message: SERVER-23872 Check all writes succeed in where4.js
Branch: master
https://github.com/mongodb/mongo/commit/5751b5417080e4f10f25ade1a6b6f58efc263fbb

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