[SERVER-64310] Handle commands that were added/removed since last continuous in tests that define a test case for all commands Created: 07/Mar/22  Updated: 02/Feb/24

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: techdebt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-64296 Delete references to "voteCommitMigra... Closed
Assigned Teams:
Build
Participants:

 Description   

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.

Generated at Thu Feb 08 06:00:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.