summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildscripts/resmokeconfig/suites/jstestfuzz_replication_initsync.yml2
-rw-r--r--jstests/hooks/run_initial_sync_node_validation.js3
2 files changed, 4 insertions, 1 deletions
diff --git a/buildscripts/resmokeconfig/suites/jstestfuzz_replication_initsync.yml b/buildscripts/resmokeconfig/suites/jstestfuzz_replication_initsync.yml
index c9c9ad25fb9..d5c17ffc8f2 100644
--- a/buildscripts/resmokeconfig/suites/jstestfuzz_replication_initsync.yml
+++ b/buildscripts/resmokeconfig/suites/jstestfuzz_replication_initsync.yml
@@ -17,6 +17,8 @@ executor:
shell_options:
global_vars:
TestData:
+ excludedDBsFromDBHash:
+ - config
skipValidationOnInvalidViewDefinitions: true
fixture:
class: ReplicaSetFixture
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');