summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2020-10-16 16:08:41 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-10-17 02:08:23 +0000
commita82350f6b16f85067c2137dfeeb2b71d49f45ee8 (patch)
tree461f1304481a1b3d40403a8bfdde9b87861bca18
parente38772165366061ef6aa21477f9f352564c48cc9 (diff)
downloadmongo-a82350f6b16f85067c2137dfeeb2b71d49f45ee8.tar.gz
SERVER-51713 Import collections into a replica set running concurrency workloads
-rw-r--r--buildscripts/resmokeconfig/suites/concurrency_replication_for_export_import.yml50
1 files changed, 50 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/concurrency_replication_for_export_import.yml b/buildscripts/resmokeconfig/suites/concurrency_replication_for_export_import.yml
new file mode 100644
index 00000000000..aabfbc10b4b
--- /dev/null
+++ b/buildscripts/resmokeconfig/suites/concurrency_replication_for_export_import.yml
@@ -0,0 +1,50 @@
+test_kind: fsm_workload_test
+
+# This suite connects to a running mongod replica set to test live exports and imports.
+# It must specify resmoke.py options '--shellConnPort' or '--shellConnString'.
+
+selector:
+ roots:
+ - jstests/concurrency/fsm_workloads/**/*.js
+ exclude_files:
+ # These workloads use up to 100MB of memory, which can overwhelm test hosts.
+ - jstests/concurrency/fsm_workloads/agg_group_external.js
+ - jstests/concurrency/fsm_workloads/agg_sort.js
+ - jstests/concurrency/fsm_workloads/agg_sort_external.js
+ - jstests/concurrency/fsm_workloads/schema_validator_with_expr_variables.js
+
+ # The findAndModify_update_grow.js workload can cause OOM kills on test hosts.
+ - jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
+
+ # These workloads run the reIndex command, which is only allowed on a standalone node.
+ - jstests/concurrency/fsm_workloads/reindex.js
+ - jstests/concurrency/fsm_workloads/reindex_background.js
+ - jstests/concurrency/fsm_workloads/reindex_writeconflict.js
+
+ # These kill sessions.
+ - jstests/concurrency/fsm_workloads/snapshot_read_kill_operations.js
+ - jstests/concurrency/fsm_workloads/multi_statement_transaction_kill_sessions_atomicity_isolation.js
+ - jstests/concurrency/fsm_workloads/multi_statement_transaction_simple_kill_sessions.js
+
+ exclude_with_any_tags:
+ # Workloads that use a write concern will fail since the workload only connects to the primary.
+ - uses_write_concern
+ # Sharding is not supported for live exports and imports.
+ - requires_sharding
+
+executor:
+ config:
+ shell_options:
+ readMode: commands
+ global_vars:
+ TestData:
+ # The live export and import tests are expected to run the FSM workloads directly against
+ # the primary of the replica set without being aware of the other members.
+ discoverTopology: False
+ hooks:
+ - class: WaitForReplication
+ - class: CleanupConcurrencyWorkloads
+ exclude_dbs:
+ - crud
+ fixture:
+ class: ExternalFixture