Skip to content

Commit 787bbe6

Browse files
authored
DRIVERS-2781 increase wait time. (#1740)
1 parent ce9b56b commit 787bbe6

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

source/client-side-encryption/client-side-encryption.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ class AutoEncryptionOpts {
376376
// Set bypassQueryAnalysis to true to use explicit encryption on indexed fields
377377
// without the MongoDB Enterprise Advanced licensed crypt_shared library.
378378
bypassQueryAnalysis: Optional<Boolean>; // Default false.
379-
keyExpirationMS: Optional<Uint64>; // Default 60000.
379+
keyExpirationMS: Optional<Uint64>; // Default 60000. 0 means "never expire".
380380
}
381381
```
382382

@@ -1049,7 +1049,7 @@ interface ClientEncryptionOpts {
10491049
keyVaultNamespace: String;
10501050
kmsProviders: KMSProviders;
10511051
tlsOptions?: KMSProvidersTLSOptions; // Maps KMS provider to TLS options.
1052-
keyExpirationMS: Optional<Uint64>; // Default 60000.
1052+
keyExpirationMS: Optional<Uint64>; // Default 60000. 0 means "never expire".
10531053
};
10541054

10551055
interface KMSProvidersTLSOptions {

source/client-side-encryption/etc/test-templates/keyCache.yml.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ tests:
2121
- name: wait
2222
object: testRunner
2323
arguments:
24-
ms: 2
24+
ms: 50 # Wait long enough to account for coarse time resolution on Windows (CDRIVER-4526).
2525
- name: find
2626
arguments:
2727
filter: { _id: 1 }
@@ -66,4 +66,4 @@ tests:
6666
collection:
6767
# Outcome is checked using a separate MongoClient without auto encryption.
6868
data:
69-
- *doc0_encrypted
69+
- *doc0_encrypted

source/client-side-encryption/tests/legacy/keyCache.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/client-side-encryption/tests/legacy/keyCache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ tests:
2121
- name: wait
2222
object: testRunner
2323
arguments:
24-
ms: 2
24+
ms: 50 # Wait long enough to account for coarse time resolution on Windows (CDRIVER-4526).
2525
- name: find
2626
arguments:
2727
filter: { _id: 1 }

source/client-side-encryption/tests/unified/keyCache.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/client-side-encryption/tests/unified/keyCache.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ tests:
6262
- name: wait
6363
object: testRunner
6464
arguments:
65-
ms: 2
65+
ms: 50 # Wait long enough to account for coarse time resolution on Windows (CDRIVER-4526).
6666
- name: decrypt
6767
object: *clientEncryption0
6868
arguments:
@@ -82,4 +82,4 @@ tests:
8282
find: datakeys
8383
filter: {"$or": [{"_id": {"$in": [ {'$binary': {'base64': 'a+YWzdygTAG62/cNUkqZiQ==', 'subType': '04'}} ] }}, {"keyAltNames": {"$in": []}}]}
8484
$db: keyvault
85-
readConcern: { level: "majority" }
85+
readConcern: { level: "majority" }

0 commit comments

Comments
 (0)