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

Prepare for update to Mongo Java driver 5.2.x #523

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

sleberknight
Copy link
Member

  • Refactor all the MongoDbExtension tests to use Testcontainers.
  • Due to differences between Testcontainers and MongoServer in terms of when they create a database, change some assertions in the setUp and tearDown methods of the MongoDbExtension tests.
  • Only enable the MongoServerExtension tests if any of the supported ServerVersion enum values has wire version 7 or higher.

Closes #522

* Refactor all the MongoDbExtension tests to use Testcontainers.
* Due to differences between Testcontainers and MongoServer
  in terms of when they create a database, change some assertions
  in the setUp and tearDown methods of the MongoDbExtension tests.
* Only enable the MongoServerExtension tests if any of the
  supported ServerVersion enum values has wire version 7 or higher.

Closes #522
@sleberknight sleberknight self-assigned this Oct 16, 2024
Copy link

@sleberknight sleberknight merged commit 62787e1 into main Oct 16, 2024
5 checks passed
@sleberknight sleberknight deleted the prepare-for-mongo-driver-5.2.x branch October 16, 2024 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant