summaryrefslogtreecommitdiff
path: root/jstests/client_encrypt/fle_encrypt_decrypt_shell.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/client_encrypt/fle_encrypt_decrypt_shell.js')
-rw-r--r--jstests/client_encrypt/fle_encrypt_decrypt_shell.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/client_encrypt/fle_encrypt_decrypt_shell.js b/jstests/client_encrypt/fle_encrypt_decrypt_shell.js
index f67bc72dccc..db0f8285a07 100644
--- a/jstests/client_encrypt/fle_encrypt_decrypt_shell.js
+++ b/jstests/client_encrypt/fle_encrypt_decrypt_shell.js
@@ -87,7 +87,7 @@ for (const kmsType of kmsTypes) {
for (const encryptionAlgorithm of encryptionAlgorithms) {
collection.drop();
- assert.writeOK(
+ assert.commandWorked(
keyVault.createKey(kmsType, "arn:aws:kms:us-east-1:fake:fake:fake", ['mongoKey']));
const keyId = keyVault.getKeyByAltName("mongoKey").toArray()[0]._id;