summaryrefslogtreecommitdiff
path: root/jstests/hooks/run_check_repl_dbhash.js
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-08-10 18:00:50 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-08-12 09:01:31 -0400
commit9245615c3bb7f94f0cbe7fa37b7bb624f64ab08a (patch)
treead1ae7fa229e406aa02771b73f58ebabf85f2853 /jstests/hooks/run_check_repl_dbhash.js
parenta7c6f1cb7a3564d2d6fa8ca5d41f9b014f43cb2e (diff)
downloadmongo-9245615c3bb7f94f0cbe7fa37b7bb624f64ab08a.tar.gz
SERVER-30325 Temporarily exclude the 'config' database from the fuzzer DBHash checks
Diffstat (limited to 'jstests/hooks/run_check_repl_dbhash.js')
-rw-r--r--jstests/hooks/run_check_repl_dbhash.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/hooks/run_check_repl_dbhash.js b/jstests/hooks/run_check_repl_dbhash.js
index 632f4e25cfa..479abf5cf25 100644
--- a/jstests/hooks/run_check_repl_dbhash.js
+++ b/jstests/hooks/run_check_repl_dbhash.js
@@ -91,7 +91,8 @@
var isMasterSlave = cmdLineOpts.parsed.master === true;
var testFixture = isMasterSlave ? new MasterSlaveDBHashTest(db.getMongo().host)
: new ReplSetTest(db.getMongo().host);
- testFixture.checkReplicatedDataHashes();
+ var excludedDBs = jsTest.options().excludedDBsFromDBHash || [];
+ testFixture.checkReplicatedDataHashes(undefined, excludedDBs);
var totalTime = Date.now() - startTime;
print('Finished consistency checks of cluster in ' + totalTime + ' ms.');