Skip to content

restore C++ driver tests #2057

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kevinAlbs
Copy link
Collaborator

Follow-up to #1957 to restore C++ driver tests that were removed due to backwards breaking changes in C driver 2.0. The C++ driver r4.1.0 migrated to C driver 2.0, and now successfully builds.

Verified with this patch build: https://spruce.mongodb.com/version/68713f991a0d3a0007c0f055

@kevinAlbs kevinAlbs requested a review from a team as a code owner July 11, 2025 16:52
@kevinAlbs kevinAlbs requested a review from vector-of-bool July 11, 2025 16:52
Copy link
Contributor

@vector-of-bool vector-of-bool left a comment

Choose a reason for hiding this comment

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

Sorry, thought I approved this but apparently not. LGTM with a minor comment.

Aside: I realized that this is a suboptimal testing setup, since we're just duplicating a lot of work where we build the C driver for multiple different C++ library versions (or none, as in one case), when it would be simpler to do all the test versions within a single EVG task and reuse the same build between them. I'll create a Jira ticket for this.

@@ -38,7 +38,7 @@
"Valid options for the SASL configuration parameter"
TLSOption = Literal["OpenSSL", "off"]
"Options for the TLS backend configuration parameter (AKA 'ENABLE_SSL')"
CxxVersion = Literal["none"] # TODO: Once CXX-3103 is released, add latest C++ release tag.
CxxVersion = Literal["r4.1.0", "none"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Is 4.1.0 the only version we want to test at the moment? Do we care to test master?

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