summaryrefslogtreecommitdiff
path: root/jstests/replsets/libs/tenant_migration_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/libs/tenant_migration_test.js')
-rw-r--r--jstests/replsets/libs/tenant_migration_test.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/replsets/libs/tenant_migration_test.js b/jstests/replsets/libs/tenant_migration_test.js
index 04619679e33..bd79c51b6bb 100644
--- a/jstests/replsets/libs/tenant_migration_test.js
+++ b/jstests/replsets/libs/tenant_migration_test.js
@@ -136,7 +136,7 @@ function TenantMigrationTest({
nodeOptions["setParameter"] = setParameterOpts;
const rstName = `${name}_${(isDonor ? "donor" : "recipient")}`;
- const rst = new ReplSetTest({name: rstName, nodes, nodeOptions});
+ const rst = new ReplSetTest({name: rstName, nodes, serverless: true, nodeOptions});
rst.startSet();
if (initiateRstWithHighElectionTimeout) {
rst.initiateWithHighElectionTimeout();
@@ -231,6 +231,7 @@ function TenantMigrationTest({
this.runDonorStartMigration = function({
migrationIdString,
tenantId,
+ protocol,
recipientConnectionString = recipientRst.getURL(),
readPreference = {mode: "primary"},
donorCertificateForRecipient = migrationCertificates.donorCertificateForRecipient,
@@ -251,6 +252,7 @@ function TenantMigrationTest({
readPreference,
donorCertificateForRecipient,
recipientCertificateForDonor,
+ protocol
};
const stateRes = TenantMigrationUtil.runTenantMigrationCommand(cmdObj, this.getDonorRst(), {