-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Repl 2020-11-16
list_idl_files_for_api_version.py should call "listCommands" on a mongod and on a mongos built from the current commit. It should call each command with apiVersion: "1", apiStrict: true to check if the command is in API Version 1 in the current commit. If so, the script will assert that there is an IDL file specifying that command, or that the command is in a hard-coded list of excused commands (those tested in PM-1846, plus "insert", and perhaps others). If the script finds a command in API Version 1 on mongod but not mongos, or vice versa, it should print an error and quit.
Until all API Version 1 commands' inputs/outputs are specified in IDL, this part of the script will have to stay disabled.
- related to
-
SERVER-51883 Provide mechanism for only running tests of flag-guarded features in variants where they are enabled
- Closed