summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Nadeau <didier.nadeau@mongodb.com>2022-03-14 22:35:36 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-14 23:26:50 +0000
commitebef0c9e6507fae743189cef2f2517016b6873f2 (patch)
tree01fbdda600965004a4c3ead3d90bec21659ce208
parent368cf9f2dd487e9119412788e1d2adcc15c86e5d (diff)
downloadmongo-ebef0c9e6507fae743189cef2f2517016b6873f2.tar.gz
SERVER-64478 Fix shard split test failure due to invalid tenant ids
-rw-r--r--jstests/serverless/shard_split_reconfig.js2
-rw-r--r--jstests/serverless/shard_split_tenant_access_blocking.js2
-rw-r--r--jstests/serverless/shard_split_wait_for_block_timestamp.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/jstests/serverless/shard_split_reconfig.js b/jstests/serverless/shard_split_reconfig.js
index e77c2b03b6a..3f27c507bee 100644
--- a/jstests/serverless/shard_split_reconfig.js
+++ b/jstests/serverless/shard_split_reconfig.js
@@ -22,7 +22,7 @@ function shardSplitApplySplitConfig() {
const donorPrimary = test.donor.getPrimary();
const migrationId = UUID();
- const tenantIds = ["test_tenant_1", "test_tenant_2"];
+ const tenantIds = ["tenant1", "tenant2"];
jsTestLog("Asserting no state document exist before command");
assert.isnull(findMigration(donorPrimary, migrationId));
diff --git a/jstests/serverless/shard_split_tenant_access_blocking.js b/jstests/serverless/shard_split_tenant_access_blocking.js
index 7d961bda6ef..18226d984b2 100644
--- a/jstests/serverless/shard_split_tenant_access_blocking.js
+++ b/jstests/serverless/shard_split_tenant_access_blocking.js
@@ -22,7 +22,7 @@ test.addRecipientNodes();
const donorPrimary = test.donor.getPrimary();
const migrationId = UUID();
-const tenantIds = ["test_tenant_1", "test_tenant_2"];
+const tenantIds = ["tenant1", "tenant2"];
const maxTimeMS = 1 * 2000; // 2 seconds
jsTestLog("Asserting no state document exist before command");
diff --git a/jstests/serverless/shard_split_wait_for_block_timestamp.js b/jstests/serverless/shard_split_wait_for_block_timestamp.js
index 4cb293650b0..05ae114e1f6 100644
--- a/jstests/serverless/shard_split_wait_for_block_timestamp.js
+++ b/jstests/serverless/shard_split_wait_for_block_timestamp.js
@@ -30,7 +30,7 @@ test.addRecipientNodes();
const donorPrimary = test.donor.getPrimary();
const adminDb = donorPrimary.getDB("admin");
-const tenantIds = ["test_tenant_1", "test_tenant_2"];
+const tenantIds = ["tenant1", "tenant2"];
// Stop replication on recipient nodes, and write a lot of data to the set
test.recipientNodes.forEach(node => stopServerReplication(node));