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-1690: Convert CRUD v1 tests to unified format #1533

Merged
merged 6 commits into from
Mar 5, 2024

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Feb 29, 2024

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

Please complete the following before merging:

  • 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#1240

Since aggregate.yml, bulkWrite-arrayFilters.yml, and find.yml already existed, converted tests were incorporated into the existing file and changed as needed to account for differences in the existing file's initialData section.
This was leftover from porting the CRUD v2 tests in 68bf3b3 for DRIVERS-1130.
@jmikola jmikola requested a review from a team as a code owner February 29, 2024 20:39
@jmikola jmikola requested review from nbbeeken and removed request for a team February 29, 2024 20:39
jmikola added a commit to jmikola/mongo-php-library that referenced this pull request Feb 29, 2024
@jmikola
Copy link
Member Author

jmikola commented Mar 1, 2024

@jyemin: Would you like to POC these in Java as well?

jmikola added a commit to jmikola/mongo-php-library that referenced this pull request Mar 1, 2024
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.

All tests pass in Java driver.

LGTM

@jmikola
Copy link
Member Author

jmikola commented Mar 4, 2024

@nbbeeken: Do you still want to review this? If not, please remove yourself.

Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

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

@jmikola jmikola merged commit f992d43 into mongodb:master Mar 5, 2024
4 checks passed
@jmikola jmikola deleted the drivers-1690 branch March 5, 2024 15:27
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.

4 participants