Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRIVERS-2781 increase wait time. #1740

Merged
merged 3 commits into from
Dec 4, 2024

Conversation

kevinAlbs
Copy link
Contributor

@kevinAlbs kevinAlbs commented Dec 4, 2024

Summary

Follow-up to #1730

  • Increase wait time in keyCache.json tests to fix failures on Windows.
  • Document keyExpirationMS=0 means "never expire".

See mongodb/mongo-c-driver#1804 for motivation.


Please complete the following before merging:

  • [ ] Update changelog.
  • Test changes in at least one language driver.
  • [ ] Test these changes against all server versions and topologies (including standalone, replica set, sharded
    clusters, and serverless).
    Verified by this patch build. But C does not test serverless.

Accounts for coarse time resolution on Windows. Waiting for 2ms may not expire the key in libmongocrypt on Windows due to CDRIVER-4526.
@kevinAlbs kevinAlbs requested a review from adriandole December 4, 2024 14:51
@kevinAlbs kevinAlbs marked this pull request as ready for review December 4, 2024 16:52
@kevinAlbs kevinAlbs requested a review from a team as a code owner December 4, 2024 16:52
@kevinAlbs kevinAlbs requested review from katcharov and removed request for a team and katcharov December 4, 2024 16:52
Copy link
Contributor

@adriandole adriandole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL that the Windows clock can only measure 16 ms

@kevinAlbs kevinAlbs merged commit 787bbe6 into mongodb:master Dec 4, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants