summaryrefslogtreecommitdiff
path: root/jstests/replsets/libs
diff options
context:
space:
mode:
authorChristopher Caplinger <christopher.caplinger@mongodb.com>2022-01-05 22:32:26 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-05 23:11:11 +0000
commit3ad8827a2f8763f4ff2eac719e6b0420f0627b33 (patch)
tree8765d1f78efbd308d2e2b776afcdded6202ded03 /jstests/replsets/libs
parentad4f490665681d18c1291ce52e8ba6a01f20788b (diff)
downloadmongo-3ad8827a2f8763f4ff2eac719e6b0420f0627b33.tar.gz
SERVER-61131: Store backup cursor results and set state to 'learned filenames'
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 = {