diff options
author | mathisbessamdb <mathis.bessa@mongodb.com> | 2022-11-18 23:04:18 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-18 23:58:48 +0000 |
commit | 4fd85ab061c1b31af3d641d743420d66ce25cf5c (patch) | |
tree | ac715e5637d6aee1523be2fdc8bf185058910c60 /jstests/serverless/shard_split_timeseries_collections.js | |
parent | 0d9b3912cee0897af35ec529a687d886f2b5a06d (diff) | |
download | mongo-4fd85ab061c1b31af3d641d743420d66ce25cf5c.tar.gz |
SERVER-71179 Update the ShardSplitCommands to use the TenantId class
Diffstat (limited to 'jstests/serverless/shard_split_timeseries_collections.js')
-rw-r--r-- | jstests/serverless/shard_split_timeseries_collections.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/serverless/shard_split_timeseries_collections.js b/jstests/serverless/shard_split_timeseries_collections.js index 1e557228497..611bffbfeaf 100644 --- a/jstests/serverless/shard_split_timeseries_collections.js +++ b/jstests/serverless/shard_split_timeseries_collections.js @@ -27,8 +27,8 @@ test.addRecipientNodes(); const donorPrimary = test.donor.getPrimary(); -const tenantId = "testTenantId"; -const tsDB = test.tenantDB(tenantId, "tsDB"); +const tenantId = ObjectId(); +const tsDB = test.tenantDB(tenantId.str, "tsDB"); const donorTSDB = donorPrimary.getDB(tsDB); assert.commandWorked(donorTSDB.createCollection("tsColl", {timeseries: {timeField: "time"}})); assert.commandWorked(donorTSDB.runCommand( |