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

improve appendSetParameterArgs version checks in servers.js

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • Execution Team 2020-10-19

      The version checks for filtering the setParameter key-value pairs for starting up mongod and mongos binaries in tests is done in appendSetParameterArgs() in servers.js. The current state of the version checks can be a little hard to parse because we have to check if we are dealing with the latest version of the binary (!programMajorMinorVersion) or a previous binary version ({e.g. {programMajorMinorVersion >= 440}}). It would be nice to find a way to make these checks easier to understand.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: