[SERVER-42975] Clean up or consolidate mapReduce_inSharded.js and similar tests Created: 22/Aug/19  Updated: 29/Oct/23  Resolved: 06/Sep/19

Status: Closed
Project: Core Server
Component/s: MapReduce, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.3.1

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

Backwards Compatibility: Fully Compatible
Sprint: Query 2019-08-26, Query 2019-09-09
Participants:

 Description   

These tests are all very similar:

  • jstests/sharding/mapReduce_inSharded.js
  • jstests/sharding/mapReduce_inSharded_outSharded.js
  • jstests/sharding/mapReduce_nonSharded.js
  • jstests/sharding/mapReduce_outSharded.js
  • jstests/sharding/mapReduce_outSharded_checkUUID.js

We should either consolidate them, or find a helper function or several that they can share to make the code duplication smaller and test surface area more obvious.



 Comments   
Comment by Charlie Swanson [ 06/Sep/19 ]

Oops committed with the wrong ticket reference. Copying message here

Author:

{'username': 'cswanson310', 'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson'}

Message: SERVER-42691 Modernize mapReduce_inSharded.js and friends
Branch: master
https://github.com/mongodb/mongo/commit/47bc0d69fd8822f5e58b6bd7f8799307ee7159f6

Generated at Thu Feb 08 05:01:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.