summaryrefslogtreecommitdiff
path: root/jstests/hooks/run_initial_sync_node_validation.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/hooks/run_initial_sync_node_validation.js')
-rw-r--r--jstests/hooks/run_initial_sync_node_validation.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/hooks/run_initial_sync_node_validation.js b/jstests/hooks/run_initial_sync_node_validation.js
index 769409c534d..78d6685a23c 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();
+ var excludedDBs = jsTest.options().excludedDBsFromDBHash || [];
+ rst.checkReplicatedDataHashes(undefined, excludedDBs);
load('jstests/hooks/run_validate_collections.js');