summaryrefslogtreecommitdiff
path: root/jstests/auth
diff options
context:
space:
mode:
authormathisbessamdb <mathis.bessa@mongodb.com>2023-03-24 14:48:08 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-03-24 16:26:31 +0000
commit08866e03e2283c6ab2110383f1b60397fe5d1ad7 (patch)
treee15d7c93542d1310144fd8e70ccf5e59a99c6ced /jstests/auth
parente9359000f0592822929f659bbeb5fe85083c6eb9 (diff)
downloadmongo-08866e03e2283c6ab2110383f1b60397fe5d1ad7.tar.gz
SERVER-74967 Tenant Migration Protocol to fail with bad tenantId
Diffstat (limited to 'jstests/auth')
-rw-r--r--jstests/auth/lib/commands_lib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js
index 1103ab8944b..c0e68e31a15 100644
--- a/jstests/auth/lib/commands_lib.js
+++ b/jstests/auth/lib/commands_lib.js
@@ -123,7 +123,7 @@ function buildTenantMigrationCmd(cmd, state) {
});
if (!isShardMergeEnabled) {
- cmdCopy.tenantId = "testTenantId";
+ cmdCopy.tenantId = ObjectId().str;
}
return cmdCopy;