summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Schultz <william.schultz@mongodb.com>2019-06-14 17:59:58 -0400
committerWilliam Schultz <william.schultz@mongodb.com>2019-06-14 17:59:58 -0400
commit20d327d3e415b9b4b4d869bb09bd136c3b6d6b22 (patch)
treee9e40c05ee5b723b606d59824c9978303a14c74a /src
parent4d4892bedbea98ff0bfba3f5d8443ca911877e21 (diff)
downloadmongo-20d327d3e415b9b4b4d869bb09bd136c3b6d6b22.tar.gz
SERVER-41377 Add JS tests that the rollback data files are generated correctly for prepared and unprepared transactions
Diffstat (limited to 'src')
-rw-r--r--src/mongo/shell/servers.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/shell/servers.js b/src/mongo/shell/servers.js
index 08652c5ec3b..38d72bf2816 100644
--- a/src/mongo/shell/servers.js
+++ b/src/mongo/shell/servers.js
@@ -1319,7 +1319,8 @@ var MongoRunner, _startMongod, startMongoProgram, runMongoProgram, startMongoPro
args = appendSetParameterArgs(args);
var progName = args[0];
- if (jsTestOptions().auth && progName != 'mongod') {
+ // The bsondump tool doesn't support these auth related command line flags.
+ if (jsTestOptions().auth && progName != 'mongod' && progName != 'bsondump') {
args = args.slice(1);
args.unshift(progName,
'-u',