summaryrefslogtreecommitdiff
path: root/jstests/replsets/tenant_migration_resume_collection_cloner_after_recipient_failover.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/tenant_migration_resume_collection_cloner_after_recipient_failover.js')
-rw-r--r--jstests/replsets/tenant_migration_resume_collection_cloner_after_recipient_failover.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/jstests/replsets/tenant_migration_resume_collection_cloner_after_recipient_failover.js b/jstests/replsets/tenant_migration_resume_collection_cloner_after_recipient_failover.js
index 02ccfc68c56..13eef15e0a9 100644
--- a/jstests/replsets/tenant_migration_resume_collection_cloner_after_recipient_failover.js
+++ b/jstests/replsets/tenant_migration_resume_collection_cloner_after_recipient_failover.js
@@ -101,8 +101,11 @@ const tenantMigrationFailoverTest = function(isTimeSeries, createCollFn, docs) {
recipientColl = newRecipientPrimary.getDB(dbName).getCollection(collName);
assert.eq(docs.length, recipientColl.find().itcount());
assert.docEq(recipientColl.find().sort({_id: 1}).toArray(), docs);
- TenantMigrationUtil.checkTenantDBHashes(
- tenantMigrationTest.getDonorRst(), tenantMigrationTest.getRecipientRst(), tenantId);
+ TenantMigrationUtil.checkTenantDBHashes({
+ donorRst: tenantMigrationTest.getDonorRst(),
+ recipientRst: tenantMigrationTest.getRecipientRst(),
+ tenantId
+ });
tenantMigrationTest.stop();
recipientRst.stopSet();