summaryrefslogtreecommitdiff
path: root/jstests/fle2
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2023-03-23 15:09:15 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-03-24 17:00:46 +0000
commit993d0895605548b90bfcc74d32d7c3dd69e46e2b (patch)
tree45b7055989e1ea5813cdd7a5d7e066c843afe6b3 /jstests/fle2
parent253edc08d80ec4dfb563a7a911871372f87cfd4f (diff)
downloadmongo-993d0895605548b90bfcc74d32d7c3dd69e46e2b.tar.gz
SERVER-74152 Implement read tags with storage engine API
Diffstat (limited to 'jstests/fle2')
-rw-r--r--jstests/fle2/libs/encrypted_client_util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/fle2/libs/encrypted_client_util.js b/jstests/fle2/libs/encrypted_client_util.js
index ad5e6191f52..07e585d6b58 100644
--- a/jstests/fle2/libs/encrypted_client_util.js
+++ b/jstests/fle2/libs/encrypted_client_util.js
@@ -186,7 +186,7 @@ var EncryptedClient = class {
Object.extend(createIndexCmdObj, {"$tenant": dollarTenant});
}
assert.commandWorked(this._edb.runCommand(createIndexCmdObj));
- let tenantOption = {};
+ let tenantOption = {clusteredIndex: {key: {_id: 1}, unique: true}};
if (dollarTenant) {
Object.extend(tenantOption, {"$tenant": dollarTenant});
}