require_api_version.js is not properly testing requireApiVersion parameters

XMLWordPrintableJSON

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

      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 José Grillo Ramirez
            Reporter:
            Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: