Skip to content

RUST-894 Unskip write_error::details test on sharded clusters #526

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

Merged

Conversation

karmenliang
Copy link
Contributor

RUST-894

Since SERVER-58399 is fixed, the write_error test can be unskipped.

@karmenliang karmenliang requested review from patrickfreed and removed request for patrickfreed November 22, 2021 20:56
@abr-egn abr-egn force-pushed the RUST-894/unskip-write_error-test branch from 3656781 to 3cd7242 Compare January 20, 2022 19:14
@abr-egn
Copy link
Contributor

abr-egn commented Jan 21, 2022

This just needed a minor update to skip servers that don't have the fix; @patrickfreed and @isabelatkinson please take a look :)

// TODO: RUST-894 unskip once SERVER-58399 is fixed.
if client.server_version_lt(5, 0) || client.is_sharded() {
if client.server_version_lt(5, 0) {
// SERVER-58399
Copy link
Contributor

@isabelatkinson isabelatkinson Jan 21, 2022

Choose a reason for hiding this comment

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

I think we can remove this ticket reference now that the issue on sharded clusters is resolved

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd prefer to leave it there as a breadcrumb for why servers <5.0 can't run the test.

@abr-egn abr-egn force-pushed the RUST-894/unskip-write_error-test branch from 29e47da to b1accbf Compare February 2, 2022 15:30
@abr-egn abr-egn merged commit 2f6a9e3 into mongodb:master Feb 2, 2022
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