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

require_api_version.js is not properly testing requireApiVersion parameters

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2021-08-09

      SERVER-58315 changes tests that used shards as standalone servers in order to set the foundations needed to commit SERVER-27383. require_api_version.js checks that a mongod binary cannot start as a config server node and set requireApiVersion as true, but, after SERVER-27383 we can't start a mongod instance as a config server node without a replica set name, so the assert is working but because there is no replica set name specified, instead of the intended parameter combination. We only need to add the replSet parameter like the shard node test.

            Assignee:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: