From f411c0dc83777945d8c008155ab098df2201e0a2 Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Tue, 15 Jul 2025 11:55:10 -0400 Subject: [PATCH 1/2] DRIVERS-3106 note `cryptSharedLibPath` may be set by test runner --- source/unified-test-format/unified-test-format.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/unified-test-format/unified-test-format.md b/source/unified-test-format/unified-test-format.md index 9c8625895f..d44ad0c432 100644 --- a/source/unified-test-format/unified-test-format.md +++ b/source/unified-test-format/unified-test-format.md @@ -551,6 +551,10 @@ The structure of this object is as follows: - `schemaMap`: Optional object. Maps namespaces to CSFLE schemas. - `encryptedFieldsMap`: Optional object. Maps namespaces to QE schemas. - `extraOptions`: Optional object. Configuration options for the encryption library. + - If `extraOptions` is not present or omits `cryptSharedLibPath`, test runners MAY set `cryptSharedLibPath` + to the path of [crypt_shared](../client-side-encryption/client-side-encryption.md#crypt_shared) being + tested. This can avoid test errors loading + [crypt_shared](../client-side-encryption/client-side-encryption.md#crypt_shared) from different paths. - `bypassQueryAnalysis`: Optional. Disables analysis of outgoing commands. Defaults to `false`. - `keyExpirationMS`: The same as in [`clientEncryption`](#entity_clientEncryption). @@ -3583,6 +3587,8 @@ other specs *and* collating spec changes developed in parallel or during the sam ## Changelog +- 2025-07-15: Clarify test runner may apply a default `cryptSharedLibPath`. + - 2025-06-04: Deprecate the `serverless` runOnRequirement - 2025-04-25: Drop `_enxcol` collections. From 91e235124813eb183b4ad4dd95dd243c5dc3cd61 Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Tue, 15 Jul 2025 12:38:46 -0400 Subject: [PATCH 2/2] format --- source/unified-test-format/unified-test-format.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/source/unified-test-format/unified-test-format.md b/source/unified-test-format/unified-test-format.md index 058cec7e47..e8944e14f9 100644 --- a/source/unified-test-format/unified-test-format.md +++ b/source/unified-test-format/unified-test-format.md @@ -530,10 +530,9 @@ The structure of this object is as follows: - `schemaMap`: Optional object. Maps namespaces to CSFLE schemas. - `encryptedFieldsMap`: Optional object. Maps namespaces to QE schemas. - `extraOptions`: Optional object. Configuration options for the encryption library. - - If `extraOptions` is not present or omits `cryptSharedLibPath`, test runners MAY set `cryptSharedLibPath` - to the path of [crypt_shared](../client-side-encryption/client-side-encryption.md#crypt_shared) being - tested. This can avoid test errors loading - [crypt_shared](../client-side-encryption/client-side-encryption.md#crypt_shared) from different paths. + - If `extraOptions` is not present or omits `cryptSharedLibPath`, test runners MAY set `cryptSharedLibPath` to the + path of [crypt_shared](../client-side-encryption/client-side-encryption.md#crypt_shared) being tested. This + can avoid test errors loading crypt_shared from different paths. - `bypassQueryAnalysis`: Optional. Disables analysis of outgoing commands. Defaults to `false`. - `keyExpirationMS`: The same as in [`clientEncryption`](#entity_clientEncryption).