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

Remove local variable deletions in JS tests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: 3.1.5
    • Fix Version/s: 3.1.6
    • Component/s: Testing Infrastructure
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Epic Link:

      Description

      In two of the jstests there are instances where a local variable is deleted (jstests/auth/user_defined_roles_on_secondaries.js:86 and jstests/core/loadserverscripts.js:13) This causes problems for parsing the file for fuzzing. These delete commands are not needed since a new mongo shell is spawned for each test, clearing the local variables.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              j.delaney J Delaney
              Reporter:
              j.delaney J Delaney
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: