summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorCheahuychou Mao <cheahuychou.mao@mongodb.com>2020-08-25 21:18:44 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-28 23:40:27 +0000
commit7b0f4781f878fc7c231c2a1ed7fc20fd9ca1a1e6 (patch)
treebea15f7b4213cb060907b526794acafd0d71ae35 /buildscripts
parentcaf0451c59b3a9304743ed82c05d13052600407d (diff)
downloadmongo-7b0f4781f878fc7c231c2a1ed7fc20fd9ca1a1e6.tar.gz
SERVER-50104 Make the test hook run a background migration on the data used by tests
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/resmokeconfig/suites/tenant_migration_jscore_passthrough.yml46
1 files changed, 46 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/tenant_migration_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/tenant_migration_jscore_passthrough.yml
index b9eafe229a1..6a9145d61d0 100644
--- a/buildscripts/resmokeconfig/suites/tenant_migration_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/tenant_migration_jscore_passthrough.yml
@@ -4,12 +4,55 @@ selector:
roots:
- jstests/core/**/*.js
exclude_files:
+ - jstests/core/txns/**/*.js
+ # These tests depend on hardcoded database name equality.
+ - jstests/core/json_schema/misc_validation.js
+ - jstests/core/list_databases.js
+ - jstests/core/profile1.js
+ - jstests/core/profile3.js
+ - jstests/core/views/views_stats.js
+ # These tests expect hardcoded count of write operations and this suite retries writes on
+ # migration conflict errors.
+ - jstests/core/operation_latency_histogram.js
+ - jstests/core/top.js
+ # The override cannot deep copy very large or small dates.
+ - jstests/core/index_large_and_small_dates.js
+ # These tests expect the profiler to observe batched write operations but batched writes are
+ # disabled in this suite.
+ - jstests/core/profile_insert.js
+ - jstests/core/profile_delete.js
+ - jstests/core/profile_findandmodify.js
+ - jstests/core/profile_update.js
# These tests are not expected to pass with replica-sets.
- jstests/core/opcounters_write_cmd.js
- jstests/core/read_after_optime.js
# This test expects that the connection (i.e. 'threadName') does not change throughout each test
# case. That is not always true when there is a background tenant migration.
- jstests/core/failcommand_failpoint.js
+ # The set_param1.js test attempts to compare the response from running the {getParameter: "*"}
+ # command multiple times, which may observe the change to the failpoint enabled by the migration
+ # hook.
+ - jstests/core/set_param1.js
+ # This test does not support tojson of command objects so the override cannot deep copy the
+ # command objects correctly.
+ - jstests/core/SERVER-23626.js
+ # These tests write with {w: 0} which doesn't wait for the storage transaction writing the
+ # document and the oplog entry to commit so the TenantMigrationConflict will not be caught.
+ - jstests/core/batch_write_command_w0.js
+ - jstests/core/crud_api.js
+ # These tests use benchRun which does not use runCommand.
+ - jstests/core/bench_test1.js
+ - jstests/core/bench_test3.js
+ - jstests/core/benchrun_pipeline_updates.js
+ # This test uses exhaust which does not use runCommand.
+ - jstests/core/exhaust.js
+ # These tests use db._authOrThrow which does not use runCommand.
+ - jstests/core/auth1.js
+ - jstests/core/connection_status.js
+ - jstests/core/user_management_helpers.js
+ # These tests use legacy read mode which does not use runCommand.
+ - jstests/core/comment_field.js
+ - jstests/core/invalidated_legacy_cursors.js
executor:
archive:
@@ -21,9 +64,12 @@ executor:
shell_options:
eval: >-
testingReplication = true;
+ load('jstests/libs/override_methods/inject_tenant_prefix.js');
global_vars:
TestData: &TestData
dbPrefix: "tenantMigrationDbPrefix_"
+ # TODO (SERVER-50494): Implement proxy's retry logic for batch write commands.
+ disableBatchWrites: true
readMode: commands
hooks:
- class: ContinuousTenantMigration