summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2017-11-20 15:35:16 -0500
committerTess Avitabile <tess.avitabile@mongodb.com>2017-11-28 10:24:21 -0500
commit924a4db540688e15dced5894a4bff6f943fc68ad (patch)
tree017d2f0fd97355c02e92996a10ad7690ae791003 /buildscripts
parent437e37763a3f49b328dadd1281ce976a73e4ef61 (diff)
downloadmongo-924a4db540688e15dced5894a4bff6f943fc68ad.tar.gz
SERVER-30440 Create replica_sets_jscore_fcv34_passthrough
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_jscore_fcv34_passthrough.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_jscore_fcv34_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_jscore_fcv34_passthrough.yml
new file mode 100644
index 00000000000..474ad855a43
--- /dev/null
+++ b/buildscripts/resmokeconfig/suites/replica_sets_jscore_fcv34_passthrough.yml
@@ -0,0 +1,40 @@
+test_kind: js_test
+
+selector:
+ roots:
+ - jstests/core/**/*.js
+ exclude_files:
+ # These tests are not expected to pass with replica-sets:
+ - jstests/core/dbadmin.js
+ - jstests/core/opcounters_write_cmd.js
+ - jstests/core/read_after_optime.js
+ - jstests/core/capped_update.js
+ # JSON Schema is not available in featureCompatibilityVersion 3.4
+ - jstests/core/json_schema/*.js
+ exclude_with_any_tags:
+ - requires_fcv36
+
+executor:
+ config:
+ shell_options:
+ eval: >-
+ testingReplication = true;
+ assert.commandWorked(db.adminCommand({setFeatureCompatibilityVersion: '3.4'}));
+ readMode: commands
+ hooks:
+ # The CheckReplDBHash hook waits until all operations have replicated to and have been applied
+ # on the secondaries, so we run the ValidateCollections hook after it to ensure we're
+ # validating the entire contents of the collection.
+ - class: CheckReplOplogs
+ - class: CheckReplDBHash
+ - class: ValidateCollections
+ - class: CleanEveryN
+ n: 20
+ fixture:
+ class: ReplicaSetFixture
+ mongod_options:
+ oplogSize: 511
+ set_parameters:
+ enableTestCommands: 1
+ numInitialSyncAttempts: 1
+ num_nodes: 2