summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/suites
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/resmokeconfig/suites')
-rw-r--r--buildscripts/resmokeconfig/suites/aggregation_sharded_collections_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml6
-rw-r--r--buildscripts/resmokeconfig/suites/change_streams_mongos_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/change_streams_secondary_reads.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/change_streams_sharded_collections_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/integration_tests_sharded.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/jstestfuzz_sharded.yml7
-rw-r--r--buildscripts/resmokeconfig/suites/jstestfuzz_sharded_causal_consistency.yml7
-rw-r--r--buildscripts/resmokeconfig/suites/jstestfuzz_sharded_continuous_stepdown.yml7
-rw-r--r--buildscripts/resmokeconfig/suites/jstestfuzz_sharded_session.yml7
-rw-r--r--buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/sharding_gle_auth_basics_passthrough.yml20
-rw-r--r--buildscripts/resmokeconfig/suites/sharding_jscore_op_query_passthrough.yml1
-rw-r--r--buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml1
16 files changed, 58 insertions, 6 deletions
diff --git a/buildscripts/resmokeconfig/suites/aggregation_sharded_collections_passthrough.yml b/buildscripts/resmokeconfig/suites/aggregation_sharded_collections_passthrough.yml
index 8bd6bcff821..1bb5b4fc5d2 100644
--- a/buildscripts/resmokeconfig/suites/aggregation_sharded_collections_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/aggregation_sharded_collections_passthrough.yml
@@ -53,6 +53,7 @@ executor:
readMode: commands
eval: load("jstests/libs/override_methods/implicitly_shard_accessed_collections.js")
hooks:
+ - class: CheckReplDBHash
- class: ValidateCollections
- class: CleanEveryN
n: 20
diff --git a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml
index 25b3fd4e1ac..4bf4048399d 100644
--- a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml
@@ -156,6 +156,7 @@ executor:
eval: load("jstests/libs/override_methods/enable_causal_consistency.js")
readMode: commands
hooks:
+ - class: CheckReplDBHash
- class: ValidateCollections
- class: CleanEveryN
n: 20
diff --git a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml
index ba2bd3d5054..cc30f0303f0 100644
--- a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml
+++ b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml
@@ -207,6 +207,12 @@ executor:
<<: *authOptions
readMode: commands
hooks:
+ - class: CheckReplDBHash
+ shell_options:
+ global_vars:
+ TestData: *TestData
+ eval: jsTest.authenticate(db.getMongo())
+ <<: *authOptions
- class: ValidateCollections
shell_options:
global_vars:
diff --git a/buildscripts/resmokeconfig/suites/change_streams_mongos_passthrough.yml b/buildscripts/resmokeconfig/suites/change_streams_mongos_passthrough.yml
index 41566db9a70..21fc4db91f8 100644
--- a/buildscripts/resmokeconfig/suites/change_streams_mongos_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/change_streams_mongos_passthrough.yml
@@ -17,6 +17,7 @@ executor:
eval: "var testingReplication = true; load('jstests/libs/override_methods/set_read_and_write_concerns.js');"
readMode: commands
hooks:
+ - class: CheckReplDBHash
- class: ValidateCollections
- class: CleanEveryN
n: 20
diff --git a/buildscripts/resmokeconfig/suites/change_streams_secondary_reads.yml b/buildscripts/resmokeconfig/suites/change_streams_secondary_reads.yml
index 7aec4fd772b..4d59aa76693 100644
--- a/buildscripts/resmokeconfig/suites/change_streams_secondary_reads.yml
+++ b/buildscripts/resmokeconfig/suites/change_streams_secondary_reads.yml
@@ -21,6 +21,7 @@ executor:
load('jstests/libs/override_methods/set_read_and_write_concerns.js');
load('jstests/libs/override_methods/set_read_preference_secondary.js');
hooks:
+ - class: CheckReplDBHash
- class: ValidateCollections
- class: CleanEveryN
n: 20
diff --git a/buildscripts/resmokeconfig/suites/change_streams_sharded_collections_passthrough.yml b/buildscripts/resmokeconfig/suites/change_streams_sharded_collections_passthrough.yml
index 9d0b301e992..02c305d732d 100644
--- a/buildscripts/resmokeconfig/suites/change_streams_sharded_collections_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/change_streams_sharded_collections_passthrough.yml
@@ -19,6 +19,7 @@ executor:
load('jstests/libs/override_methods/implicitly_shard_accessed_collections.js');
readMode: commands
hooks:
+ - class: CheckReplDBHash
- class: ValidateCollections
- class: CleanEveryN
n: 20
diff --git a/buildscripts/resmokeconfig/suites/integration_tests_sharded.yml b/buildscripts/resmokeconfig/suites/integration_tests_sharded.yml
index 8f7d234bbd8..0172e8043c7 100644
--- a/buildscripts/resmokeconfig/suites/integration_tests_sharded.yml
+++ b/buildscripts/resmokeconfig/suites/integration_tests_sharded.yml
@@ -8,6 +8,7 @@ selector:
executor:
config: {}
hooks:
+ - class: CheckReplDBHash
- class: ValidateCollections
fixture:
class: ShardedClusterFixture
diff --git a/buildscripts/resmokeconfig/suites/jstestfuzz_sharded.yml b/buildscripts/resmokeconfig/suites/jstestfuzz_sharded.yml
index d99ce811883..7fccdafedf9 100644
--- a/buildscripts/resmokeconfig/suites/jstestfuzz_sharded.yml
+++ b/buildscripts/resmokeconfig/suites/jstestfuzz_sharded.yml
@@ -9,6 +9,13 @@ executor:
shell_options:
readMode: commands
hooks:
+ - class: CheckReplDBHash
+ shell_options:
+ global_vars:
+ TestData:
+ excludedDBsFromDBHash:
+ - config
+ skipValidationOnInvalidViewDefinitions: true
- class: ValidateCollections
shell_options:
global_vars:
diff --git a/buildscripts/resmokeconfig/suites/jstestfuzz_sharded_causal_consistency.yml b/buildscripts/resmokeconfig/suites/jstestfuzz_sharded_causal_consistency.yml
index 27f9365e401..87ce206929a 100644
--- a/buildscripts/resmokeconfig/suites/jstestfuzz_sharded_causal_consistency.yml
+++ b/buildscripts/resmokeconfig/suites/jstestfuzz_sharded_causal_consistency.yml
@@ -14,6 +14,13 @@ executor:
runningWithCausalConsistency: true
usingReplicaSetShards: true
hooks:
+ - class: CheckReplDBHash
+ shell_options:
+ global_vars:
+ TestData:
+ excludedDBsFromDBHash:
+ - config
+ skipValidationOnInvalidViewDefinitions: true
- class: ValidateCollections
shell_options:
global_vars:
diff --git a/buildscripts/resmokeconfig/suites/jstestfuzz_sharded_continuous_stepdown.yml b/buildscripts/resmokeconfig/suites/jstestfuzz_sharded_continuous_stepdown.yml
index 4d99193d37e..db772343835 100644
--- a/buildscripts/resmokeconfig/suites/jstestfuzz_sharded_continuous_stepdown.yml
+++ b/buildscripts/resmokeconfig/suites/jstestfuzz_sharded_continuous_stepdown.yml
@@ -24,6 +24,13 @@ executor:
global_vars:
TestData:
skipValidationOnInvalidViewDefinitions: true
+ - class: CheckReplDBHash
+ shell_options:
+ global_vars:
+ TestData:
+ excludedDBsFromDBHash:
+ - config
+ skipValidationOnInvalidViewDefinitions: true
fixture:
class: ShardedClusterFixture
mongos_options:
diff --git a/buildscripts/resmokeconfig/suites/jstestfuzz_sharded_session.yml b/buildscripts/resmokeconfig/suites/jstestfuzz_sharded_session.yml
index 7b5d9868d08..b301c5ac10b 100644
--- a/buildscripts/resmokeconfig/suites/jstestfuzz_sharded_session.yml
+++ b/buildscripts/resmokeconfig/suites/jstestfuzz_sharded_session.yml
@@ -10,6 +10,13 @@ executor:
eval: load("jstests/libs/override_methods/enable_sessions.js")
readMode: commands
hooks:
+ - class: CheckReplDBHash
+ shell_options:
+ global_vars:
+ TestData:
+ excludedDBsFromDBHash:
+ - config
+ skipValidationOnInvalidViewDefinitions: true
- class: ValidateCollections
shell_options:
global_vars:
diff --git a/buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml
index 7161cc6338f..9f6359d5dff 100644
--- a/buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml
@@ -201,6 +201,7 @@ executor:
load("jstests/libs/override_methods/implicitly_shard_accessed_collections.js");
readMode: commands
hooks:
+ - class: CheckReplDBHash
- class: ValidateCollections
- class: CleanEveryN
n: 20
diff --git a/buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml
index 2e5a02ce896..ac450f81dd0 100644
--- a/buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml
@@ -92,6 +92,7 @@ executor:
readMode: commands
eval: load("jstests/libs/override_methods/implicitly_shard_accessed_collections.js")
hooks:
+ - class: CheckReplDBHash
- class: ValidateCollections
- class: CleanEveryN
n: 20
diff --git a/buildscripts/resmokeconfig/suites/sharding_gle_auth_basics_passthrough.yml b/buildscripts/resmokeconfig/suites/sharding_gle_auth_basics_passthrough.yml
index 5ea71956614..36d884110ac 100644
--- a/buildscripts/resmokeconfig/suites/sharding_gle_auth_basics_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/sharding_gle_auth_basics_passthrough.yml
@@ -2,6 +2,11 @@
config_variables:
- &keyFile jstests/libs/authTestsKey
- &keyFileData Thiskeyisonlyforrunningthesuitewithauthenticationdontuseitinanytestsdirectly
+- &authOptions
+ authenticationDatabase: admin
+ authenticationMechanism: SCRAM-SHA-1
+ password: *keyFileData
+ username: __system
test_kind: js_test
@@ -17,18 +22,21 @@ executor:
config:
shell_options:
global_vars:
- TestData:
+ TestData: &TestData
auth: true
authMechanism: SCRAM-SHA-1
keyFile: *keyFile
keyFileData: *keyFileData
eval: jsTest.authenticate(db.getMongo())
- authenticationDatabase: admin
- authenticationMechanism: SCRAM-SHA-1
- password: *keyFileData
- username: __system
+ <<: *authOptions
readMode: commands
-
+ hooks:
+ - class: CheckReplDBHash
+ shell_options:
+ global_vars:
+ TestData: *TestData
+ eval: jsTest.authenticate(db.getMongo())
+ <<: *authOptions
fixture:
class: ShardedClusterFixture
mongos_options:
diff --git a/buildscripts/resmokeconfig/suites/sharding_jscore_op_query_passthrough.yml b/buildscripts/resmokeconfig/suites/sharding_jscore_op_query_passthrough.yml
index 5c49c649f84..f9a9f9f5c9a 100644
--- a/buildscripts/resmokeconfig/suites/sharding_jscore_op_query_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/sharding_jscore_op_query_passthrough.yml
@@ -63,6 +63,7 @@ executor:
rpcProtocols: opQueryOnly
readMode: commands
hooks:
+ - class: CheckReplDBHash
- class: ValidateCollections
- class: CleanEveryN
n: 20
diff --git a/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml
index 14f3ec4417b..7daabd952f2 100644
--- a/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml
@@ -62,6 +62,7 @@ executor:
shell_options:
readMode: commands
hooks:
+ - class: CheckReplDBHash
- class: ValidateCollections
- class: CleanEveryN
n: 20