summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig
diff options
context:
space:
mode:
authorWilliam Schultz <william.schultz@mongodb.com>2017-10-17 11:23:05 -0400
committerWilliam Schultz <william.schultz@mongodb.com>2017-10-17 11:24:25 -0400
commitace70199e883ef5e3ae42eea3f2d64b0854e88ce (patch)
treece8a84f56d7ff3c775a2f3a3e08bc2af299e2d94 /buildscripts/resmokeconfig
parentebd980fb0b0848092506106acbd77ca717795c3f (diff)
downloadmongo-ace70199e883ef5e3ae42eea3f2d64b0854e88ce.tar.gz
SERVER-31413 Add test suite that runs the rollbackViaRefetchNoUUID algorithm
Diffstat (limited to 'buildscripts/resmokeconfig')
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_rollback_refetch_no_uuid.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_rollback_refetch_no_uuid.yml b/buildscripts/resmokeconfig/suites/replica_sets_rollback_refetch_no_uuid.yml
new file mode 100644
index 00000000000..f460c897eba
--- /dev/null
+++ b/buildscripts/resmokeconfig/suites/replica_sets_rollback_refetch_no_uuid.yml
@@ -0,0 +1,32 @@
+test_kind: js_test
+
+# This test suite exists to provide basic coverage of the 'rollbackViaRefetchNoUUID' rollback
+# method. This rollback method will be removed in 3.8, so this test suite can also be removed in
+# 3.8.
+
+selector:
+ roots:
+ # Tests in the 'rollbackRefetchNoUUID' sub-directory are tests which exercise only those
+ # operations or operation sequences that are supported by the 'rollbackViaRefetchNoUUID'
+ # algorithm.
+ - jstests/replsets/rollbackRefetchNoUUID/*.js
+ # The tests listed below are rollback "machinery" tests, that should not depend on the specific
+ # types of operations being rolled back. Therefore, they should be able to run on both the
+ # 'rollbackViaRefetch' algorithm and the 'rollbackViaRefetchNoUUID' algorithm.
+ - jstests/replsets/double_rollback.js
+ - jstests/replsets/double_rollback_early.js
+ - jstests/replsets/rollback_auth.js
+ - jstests/replsets/rollback_too_new.js
+ - jstests/replsets/rollback_views.js
+ - jstests/replsets/rollback_with_socket_error_then_steady_state.js
+ - jstests/replsets/read_committed_after_rollback.js
+executor:
+ config:
+ shell_options:
+ global_vars:
+ TestData:
+ # 'rollbackViaRefetchNoUUID' is the rollback algorithm used when in FCV=3.4, so we
+ # set the replica set FCV for all tests in this suite.
+ replSetFeatureCompatibilityVersion: "3.4"
+ nodb: ''
+ readMode: commands \ No newline at end of file