summaryrefslogtreecommitdiff
path: root/jstests/replsets/tenant_migration_aborted_buildindex.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/tenant_migration_aborted_buildindex.js')
-rw-r--r--jstests/replsets/tenant_migration_aborted_buildindex.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/tenant_migration_aborted_buildindex.js b/jstests/replsets/tenant_migration_aborted_buildindex.js
index 62cc3776092..39822f868aa 100644
--- a/jstests/replsets/tenant_migration_aborted_buildindex.js
+++ b/jstests/replsets/tenant_migration_aborted_buildindex.js
@@ -117,7 +117,7 @@ assert.soon(() => checkLog.checkContainsWithCountJson(donorPrimary, 4886202, und
const abortFp = configureFailPoint(donorPrimary, "abortTenantMigrationBeforeLeavingBlockingState");
blockingFp.off();
-assert.commandWorked(migrationThread.returnData());
+TenantMigrationTest.assertAborted(migrationThread.returnData());
abortFp.off();
// The index creation threads should be done.