[SERVER-8773] Write automated tests for stored procedures Created: 27/Feb/13  Updated: 08/May/15  Resolved: 08/May/15

Status: Closed
Project: Core Server
Component/s: JavaScript, MapReduce, Shell
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Ben Becker Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-8632 System.js functions are not available... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Write automated tests that ensure stored procedures can be loaded in $where queries, MapReduce, db.eval() and the shell.



 Comments   
Comment by Ben Becker [ 27/Feb/13 ]

Note that where4.js seems to create a server-side script, but doesn't actually execute or test it.

slowNightly/memory.js tests a stored procedure, but only via db.eval(). Might make sense to add multiple scope types to this test.

For MapReduce, it would be ideal to make sure the test succeeds in the map, reduce and finalize scopes.

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