summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorKevin Albertson <kevin.albertson@10gen.com>2017-12-21 09:56:00 -0500
committerKevin Albertson <kevin.albertson@10gen.com>2017-12-26 08:52:26 -0500
commit43b1a2984a4c7b9d1fbc9e4d0d6596c6f626ffda (patch)
tree9f144cee8788ad3cdefd6686fd162571f7cadf80 /buildscripts
parenta75da32f4a724332ead01423721937693a6bdbbe (diff)
downloadmongo-43b1a2984a4c7b9d1fbc9e4d0d6596c6f626ffda.tar.gz
SERVER-21630 run CheckReplDBHash on csrs and shard replset
Diffstat (limited to 'buildscripts')
-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 5bf7953fd11..a83354e531d 100644
--- a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml
@@ -151,6 +151,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 21ec58ccca9..662565ee164 100644
--- a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml
+++ b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml
@@ -202,6 +202,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 f1195e896aa..506dce16c22 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 20eee43dadc..141793a346f 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 3173d85a7d5..8fe5d398b4b 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 237d82b4ef1..82d12497953 100644
--- a/buildscripts/resmokeconfig/suites/sharding_jscore_op_query_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/sharding_jscore_op_query_passthrough.yml
@@ -58,6 +58,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 7aa64233576..f1c8035cf0f 100644
--- a/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml
@@ -57,6 +57,7 @@ executor:
shell_options:
readMode: commands
hooks:
+ - class: CheckReplDBHash
- class: ValidateCollections
- class: CleanEveryN
n: 20