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

Prevent JS variable leaking during parallel tests

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Query 2020-10-19
    • 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

            george.wangensteen@mongodb.com George Wangensteen
            katherine.wu@mongodb.com Katherine Wu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: