[SERVER-48630] Prevent JS variable leaking during parallel tests Created: 05/Jun/20  Updated: 29/Oct/23  Resolved: 09/Oct/20

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

Type: Improvement Priority: Major - P3
Reporter: Katherine Wu (Inactive) Assignee: George Wangensteen
Resolution: Fixed Votes: 0
Labels: greenerbuild, neweng, qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Query 2020-10-19
Participants:
Linked BF Score: 7

 Description   

To prevent errors like the linked BF:

  • Wrap the contents of `jstests/core/geo_big_polygon2.js` and `jstests/core/index8.js` files in an anonymous self-executing function
  • Change indexes variable from "var" to "const" in `jstests/core/geo_big_polygon2.js`


 Comments   
Comment by Githook User [ 09/Oct/20 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com'}

Message: SERVER-48630 Prevent JS variable leak during parallel tests.
Branch: master
https://github.com/mongodb/mongo/commit/189e9d623cbece320ddbad68d239d7a1408cff9f

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