improve appendSetParameterArgs version checks in servers.js

XMLWordPrintableJSON

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

      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
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: