Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-48630

Prevent JS variable leaking during parallel tests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0
    • Component/s: None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Query 2020-10-19
    • 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`

        Attachments

          Activity

            People

            Assignee:
            george.wangensteen George Wangensteen
            Reporter:
            katherine.wu Katherine Wu
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: