From 08866e03e2283c6ab2110383f1b60397fe5d1ad7 Mon Sep 17 00:00:00 2001 From: mathisbessamdb Date: Fri, 24 Mar 2023 14:48:08 +0000 Subject: SERVER-74967 Tenant Migration Protocol to fail with bad tenantId --- jstests/auth/lib/commands_lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jstests/auth') 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; -- cgit v1.2.1