summaryrefslogtreecommitdiff
path: root/jstests/replsets/libs
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/libs')
-rw-r--r--jstests/replsets/libs/tenant_migration_test.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/jstests/replsets/libs/tenant_migration_test.js b/jstests/replsets/libs/tenant_migration_test.js
index 9cbb7523559..0e70ca11dbc 100644
--- a/jstests/replsets/libs/tenant_migration_test.js
+++ b/jstests/replsets/libs/tenant_migration_test.js
@@ -594,11 +594,20 @@ TenantMigrationTest.DonorState = {
};
TenantMigrationTest.RecipientState = {
+ kUninitialized: "uninitialized",
kStarted: "started",
kConsistent: "consistent",
kDone: "done",
+ kLearnedFilenames: "learned filenames",
+ kCopiedFiles: "copied files",
};
+TenantMigrationTest.RecipientStateEnum =
+ Object.keys(TenantMigrationTest.RecipientState).reduce((acc, key, idx) => {
+ acc[key] = idx;
+ return acc;
+ }, {});
+
TenantMigrationTest.State = TenantMigrationTest.DonorState;
TenantMigrationTest.DonorAccessState = {