diff options
author | Jason Zhang <jason.zhang@mongodb.com> | 2021-07-15 03:51:28 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-07-23 15:07:37 +0000 |
commit | 785c2ed58a5e98335faf37b14cef0bbce5832ee2 (patch) | |
tree | 230e95c8083306c55bf861c24c63e6f440e29aac /buildscripts | |
parent | fccf8ac6de56efaadea73a659b8b5ada12844a04 (diff) | |
download | mongo-785c2ed58a5e98335faf37b14cef0bbce5832ee2.tar.gz |
SERVER-58480 Add the necessary parameters to the ContinuousTenantMigration hook to allow for proper transient error retryr5.1.0-alpha
Diffstat (limited to 'buildscripts')
3 files changed, 21 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/tenant_migration_kill_primary_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/tenant_migration_kill_primary_jscore_passthrough.yml index 3b00933e879..7b25c30cc6c 100644 --- a/buildscripts/resmokeconfig/suites/tenant_migration_kill_primary_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/tenant_migration_kill_primary_jscore_passthrough.yml @@ -263,10 +263,17 @@ executor: auth_options: *authOptions - class: ContinuousTenantMigration shell_options: + eval: >- + testingReplication = true; + load('jstests/libs/override_methods/network_error_and_txn_override.js'); + load("jstests/libs/override_methods/set_read_and_write_concerns.js"); global_vars: TestData: <<: *TestData authOptions: *authOptions + # We specify nodb so the shell used by each test will attempt to connect after loading the + # retry logic in auto_retry_on_network_error.js. + nodb: "" # 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. diff --git a/buildscripts/resmokeconfig/suites/tenant_migration_stepdown_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/tenant_migration_stepdown_jscore_passthrough.yml index be354b863c4..fb659ccb2b8 100644 --- a/buildscripts/resmokeconfig/suites/tenant_migration_stepdown_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/tenant_migration_stepdown_jscore_passthrough.yml @@ -252,10 +252,17 @@ executor: auth_options: *authOptions - class: ContinuousTenantMigration shell_options: + eval: >- + testingReplication = true; + load('jstests/libs/override_methods/network_error_and_txn_override.js'); + load("jstests/libs/override_methods/set_read_and_write_concerns.js"); global_vars: TestData: <<: *TestData authOptions: *authOptions + # We specify nodb so the shell used by each test will attempt to connect after loading the + # retry logic in auto_retry_on_network_error.js. + nodb: "" # 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. diff --git a/buildscripts/resmokeconfig/suites/tenant_migration_terminate_primary_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/tenant_migration_terminate_primary_jscore_passthrough.yml index dc26c216799..5defd9989e1 100644 --- a/buildscripts/resmokeconfig/suites/tenant_migration_terminate_primary_jscore_passthrough.yml +++ b/buildscripts/resmokeconfig/suites/tenant_migration_terminate_primary_jscore_passthrough.yml @@ -253,10 +253,17 @@ executor: auth_options: *authOptions - class: ContinuousTenantMigration shell_options: + eval: >- + testingReplication = true; + load('jstests/libs/override_methods/network_error_and_txn_override.js'); + load("jstests/libs/override_methods/set_read_and_write_concerns.js"); global_vars: TestData: <<: *TestData authOptions: *authOptions + # We specify nodb so the shell used by each test will attempt to connect after loading the + # retry logic in auto_retry_on_network_error.js. + nodb: "" # 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. |