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-1993: Convert ADL spec tests to unified test format #1545

Merged
merged 7 commits into from
Mar 12, 2024

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Mar 8, 2024

https://jira.mongodb.org/browse/DRIVERS-1993

  • Update changelog.
  • Make sure there are generated JSON files from the YAML test files.
  • 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).

POC: mongodb/mongo-php-library#1250

jmikola added a commit to jmikola/mongo-php-library that referenced this pull request Mar 8, 2024
Synced with mongodb/specifications#1545

Moves isAtlasDataLake() function to FunctionalTestCase, since it is now shared across test files.

Fixes typo in ADL prose test comment.
@jmikola jmikola marked this pull request as ready for review March 11, 2024 14:42
@jmikola jmikola requested review from a team as code owners March 11, 2024 14:42
@jmikola jmikola requested review from alcaeus and removed request for a team March 11, 2024 14:42
jmikola added a commit to jmikola/mongo-php-library that referenced this pull request Mar 11, 2024
Synced with mongodb/specifications#1545

Moves isAtlasDataLake() function to FunctionalTestCase, since it is now shared across test files.

Fixes typo in ADL prose test comment.
command:
getMore: { $$type: [ int, long ] }
# collection name will be an internal identifier
collection: { $$type: string }
Copy link
Member Author

Choose a reason for hiding this comment

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

The original tests didn't assert getMore or collection at all, but we can now use $$type.

@jyemin jyemin self-requested a review March 11, 2024 17:31
Copy link
Contributor

@jyemin jyemin left a comment

Choose a reason for hiding this comment

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

LGTM

@jmikola
Copy link
Member Author

jmikola commented Mar 12, 2024

Note: the failed link check on https://github.com/10gen/mongohouse/blob/master/README.md is a false positive, as the file exists in a private repository.

@jmikola jmikola merged commit fd5a68d into mongodb:master Mar 12, 2024
3 of 4 checks passed
@jmikola jmikola deleted the drivers-1993 branch March 12, 2024 14:21
jmikola added a commit to jmikola/mongo-php-library that referenced this pull request Mar 12, 2024
Synced with mongodb/specifications#1545

Moves isAtlasDataLake() function to FunctionalTestCase, since it is now shared across test files.

Fixes typo in ADL prose test comment.
@jmikola
Copy link
Member Author

jmikola commented Mar 12, 2024

Link check will be fixed in #1549

I didn't realize that was a permanent lint failure.

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.

3 participants