diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2018-04-06 00:29:07 -0400 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2018-04-06 00:29:07 -0400 |
commit | 91ab0fc589043b3f565df3f90685010b59f6e4a5 (patch) | |
tree | 812bf88ff91c702caf1e50049284556a2403904f /jstests/hooks | |
parent | 2dbb63045b203cc0667f8d2a2e939693c979beb0 (diff) | |
download | mongo-91ab0fc589043b3f565df3f90685010b59f6e4a5.tar.gz |
SERVER-34178 Wire up TestData.excludedDBsFromDBHash again.
Also removes the exclusion from all of the fuzzer test suites.
(cherry picked from commit 788a26e18135321927bbe0b2bdbff12efc467954)
Diffstat (limited to 'jstests/hooks')
-rw-r--r-- | jstests/hooks/run_check_repl_dbhash.js | 6 | ||||
-rw-r--r-- | jstests/hooks/run_initial_sync_node_validation.js | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/jstests/hooks/run_check_repl_dbhash.js b/jstests/hooks/run_check_repl_dbhash.js index 3f724aec894..c747330a7b3 100644 --- a/jstests/hooks/run_check_repl_dbhash.js +++ b/jstests/hooks/run_check_repl_dbhash.js @@ -101,7 +101,8 @@ function checkReplicatedDataHashesThread(hosts, testData) { try { TestData = testData; - new ReplSetTest(hosts[0]).checkReplicatedDataHashes(); + const excludedDBs = jsTest.options().excludedDBsFromDBHash; + new ReplSetTest(hosts[0]).checkReplicatedDataHashes(undefined, excludedDBs); return {ok: 1}; } catch (e) { return {ok: 0, hosts: hosts, error: e.toString(), stack: e.stack}; @@ -137,7 +138,8 @@ return; } - new ReplSetTest(topology.nodes[0]).checkReplicatedDataHashes(); + const excludedDBs = jsTest.options().excludedDBsFromDBHash; + new ReplSetTest(topology.nodes[0]).checkReplicatedDataHashes(undefined, excludedDBs); return; } diff --git a/jstests/hooks/run_initial_sync_node_validation.js b/jstests/hooks/run_initial_sync_node_validation.js index 769409c534d..562f3f00076 100644 --- a/jstests/hooks/run_initial_sync_node_validation.js +++ b/jstests/hooks/run_initial_sync_node_validation.js @@ -42,7 +42,8 @@ to ensure we're validating the entire contents of the collection */ // For checkDBHashes - rst.checkReplicatedDataHashes(); + const excludedDBs = jsTest.options().excludedDBsFromDBHash; + rst.checkReplicatedDataHashes(undefined, excludedDBs); load('jstests/hooks/run_validate_collections.js'); |