Skip to content

CSHARP-5009: Investigate changes in SERVER-85756: rename rangePreview to range #1297

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
merged 1 commit into from
Mar 21, 2024

Conversation

BorisDog
Copy link
Contributor

  • Disable preview range tests on 8.0

… to range

CSHARP-5009: Investigate changes in SERVER-85756: rename rangePreview to range
@BorisDog BorisDog requested a review from a team as a code owner March 19, 2024 17:58
@BorisDog BorisDog requested review from adelinowona and removed request for a team March 19, 2024 17:58
@@ -64,7 +64,7 @@ public void SupportedWireVersionRange_should_return_expected_result()
{
var result = Cluster.SupportedWireVersionRange;

result.Should().Be(new Range<int>(6, 23));
result.Should().Be(new Range<int>(6, 24));
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be 25? Given we have wire version 25 associated with Server 8.0 in the codebase.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question. Officially we are not supporting 8.0 features yet, and I only need it to set the max supported version of preview-range features.
So I think we should change SupportedWireVersionRange when we introduce 8.0 support.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sounds good.

@@ -46,7 +46,7 @@ public void GetServerVersionForErrorMessage_should_return_expected_serverVersion
[Fact]
public void SupportedWireRange_should_be_correct()
{
WireVersion.SupportedWireVersionRange.Should().Be(new Range<int>(6, 23));
WireVersion.SupportedWireVersionRange.Should().Be(new Range<int>(6, 24));
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar comment as above.

@BorisDog BorisDog requested a review from adelinowona March 20, 2024 16:10
Copy link
Contributor

@adelinowona adelinowona left a comment

Choose a reason for hiding this comment

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

LGTM

@BorisDog BorisDog merged commit fb932d4 into mongodb:master Mar 21, 2024
@BorisDog BorisDog deleted the csharp5009 branch March 21, 2024 00:32
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