Currently:
The mongo-shell option is only available in the subcommand update-db. The two other commands, list and mark-one-script-as-executed can't use a specified mongo shell, they only use the default shell, which is mongosh.
Expected:
⚠️ This could break the tests in MongoIT and many CLI tests because of the order of the arguments. To run the MongoIT tests, you could need both versions of mongo shell, mongo and mongosh
Currently:
The
mongo-shelloption is only available in the subcommandupdate-db. The two other commands,listandmark-one-script-as-executedcan't use a specified mongo shell, they only use the default shell, which is mongosh.Expected:
Datamaintainupdate-db(inUpdateDbTest) to no longer test that the mongo shell is accurateDatamaintainTest) to ensure that this now option is read from the shell, read from the configuration file and correctly overriden when given in shell and configuration fileMongoITand many CLI tests because of the order of the arguments. To run theMongoITtests, you could need both versions of mongo shell,mongoandmongosh