Skip to content

Conversation

@ShaneHarvey
Copy link
Member

@ShaneHarvey ShaneHarvey commented May 10, 2022

https://jira.mongodb.org/browse/PYTHON-3260

For test_continuous_network_errors, I raised the server selection timeout a bit and also raised the delta from 10 to 15.

For test_transaction_starts_with_batched_write, I reduced the amount of data written from ~100 MB to ~48MB and also utilized RawBSONDocuments to speed up the bulk_write call. These changes reduce the amount of work required in the transaction and so should lead to TransactionExceededLifetimeLimitSeconds errors.

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

LGTM!

@ShaneHarvey ShaneHarvey merged commit a624197 into mongodb:master May 10, 2022
juliusgeo pushed a commit to juliusgeo/mongo-python-driver that referenced this pull request Jun 29, 2022
blink1073 pushed a commit to blink1073/mongo-python-driver that referenced this pull request Oct 31, 2022
…st_continuous_network_errors (mongodb#945)

(cherry picked from commit a624197)
blink1073 added a commit that referenced this pull request Oct 31, 2022
…st_continuous_network_errors (#945) (#1100)

Co-authored-by: Shane Harvey <shnhrv@gmail.com>
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