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

Adds test for transaction. #294

Merged
merged 24 commits into from
Aug 26, 2022
Merged

Adds test for transaction. #294

merged 24 commits into from
Aug 26, 2022

Conversation

Andrewangeta
Copy link
Collaborator

Adds tests around transactions

Description

There's 2 tests, 1 for testing a transaction while inserting data into 2 separate collections.
and the second test is doing the same while still on the same connection.

Extra Context

This is happening on MongoDB V5

Motivation and Context

Have been seeing crashes when running back to back transactions and this adds tests around that area. But in adding the tests, this test case breaks because the connection pool can't seem to determine the max wire version.

Checklist:

  • If applicable, I have updated the documentation accordingly.
  • If applicable, I have added tests to cover my changes.

@Andrewangeta
Copy link
Collaborator Author

@Joannis Still failing :/

@Andrewangeta Andrewangeta merged commit 055a858 into master/7.0 Aug 26, 2022
@Andrewangeta Andrewangeta deleted the transaction-crash branch August 26, 2022 21:53
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