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

Handle commands that were added/removed since last continuous in tests that define a test case for all commands

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Build

      We have two files, last_lts_mongod_commands.js andĀ last_lts_mongos_commands.js, where we can add commands that were added/removed since the last LTS version.

      Tests that use listCommands and enumerate a test case for each command can load these files to ignore commands that appear in listCommands output from an older version binary, but for which there is no longer a test case, and to ignore test cases for a command which is not present in an older version binary.

      This ticket is to:

      • Add similar files (or extend the current files) for command added/removed since last continuous
      • Ensure all existing such tests load and use the files correctly. Today, some such tests, likeĀ db_reads_while_recovering_all_commands.js are instead marked multiversion_incompatible, and other such tests include a test case for the command with a TODO to remove the test case in a later version.

            Assignee:
            Unassigned Unassigned
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: