Skip to content

CDRIVER-5997 speed up CSE endpoint tests #2001

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

Merged
merged 3 commits into from
May 7, 2025

Conversation

kevinAlbs
Copy link
Collaborator

@kevinAlbs kevinAlbs commented Apr 28, 2025

Summary

Update invalid endpoints to speed up Client Side Encryption test 7.

Verified with this patch build.

Background & Motivation

Some drivers observed recent timeout test failures connecting to intentionally invalid URIs. Drivers do not use a consistent timeout for KMS requests (DRIVERS-1049). C driver tests were not failing, but logs indicate the test was very slow. On a prior commit:

[...] "/client_side_encryption/custom_endpoint" [...] "elapsed": 143.074858

With this PR:

[...] "/client_side_encryption/custom_endpoint" [...] "elapsed": 3.092288

@kevinAlbs kevinAlbs changed the title Avoid timeouts in CSE endpoint tests CDRIVER-5997 avoid timeouts in CSE endpoint tests Apr 29, 2025
@kevinAlbs kevinAlbs marked this pull request as ready for review April 29, 2025 16:49
@kevinAlbs kevinAlbs requested a review from a team as a code owner April 29, 2025 16:49
@kevinAlbs kevinAlbs requested a review from mdb-ad April 29, 2025 16:49
@kevinAlbs kevinAlbs changed the title CDRIVER-5997 avoid timeouts in CSE endpoint tests CDRIVER-5997 speed up CSE endpoint tests Apr 29, 2025
@kevinAlbs kevinAlbs merged commit 27a824c into mongodb:master May 7, 2025
39 of 42 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