diff --git a/jstests/serverless/tenant_migration_donor_startup_recovery.js b/jstests/serverless/tenant_migration_donor_startup_recovery.js index f6bc0d455fa..2a342561fb2 100644 --- a/jstests/serverless/tenant_migration_donor_startup_recovery.js +++ b/jstests/serverless/tenant_migration_donor_startup_recovery.js @@ -43,7 +43,7 @@ donorRst.startSet(); donorRst.initiate(); if (isShardMergeEnabled(donorRst.getPrimary().getDB("admin"))) { - donorRst.stop(); + donorRst.stopSet(); jsTestLog("Skipping this shard merge incompatible test."); quit(); }