Skip to content

CSHARP-4031: Update load balancer tests to support dedicated load balancer port. #752

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 4 commits into from
Mar 14, 2022

Conversation

DmitryLukyanov
Copy link
Contributor

No description provided.

if (Serverless)
switch (clusterType)
{
case ClusterType.LoadBalanced:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

LoadBalanced can use the same workaround as we used for serverless

@JamesKovacs JamesKovacs requested review from BorisDog and removed request for JamesKovacs March 11, 2022 18:36
@@ -1,10 +1,10 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

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

We can also update /initial-dns-seedlist-discovery/tests/README.rst to the latest.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@@ -1,6 +1,6 @@
{
"description": "cursors are correctly pinned to connections for load-balanced clusters",
"schemaVersion": "1.3",
"schemaVersion": "1.4",
Copy link
Contributor

Choose a reason for hiding this comment

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

These changes are from https://jira.mongodb.org/browse/DRIVERS-1767. Should this be done in this ticket?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i don't think so since DRIVERS-1767 doesn't trigger creating CSHARP ticket due to low priority.
Also, in general we usually just take the latest spec changes if the extra changes don't make any test fail and don't require additional step in the initial ticket. Also it should not make working with other affected tickets harder, first of all with git diff. I think it's not 100% rule for all cases, but I think it's true at the very least for such simple cases

@DmitryLukyanov DmitryLukyanov requested a review from BorisDog March 14, 2022 19:04
Copy link
Contributor

@BorisDog BorisDog left a comment

Choose a reason for hiding this comment

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

LGTM

@DmitryLukyanov DmitryLukyanov merged commit b335c34 into mongodb:master Mar 14, 2022
BorisDog pushed a commit to BorisDog/mongo-csharp-driver that referenced this pull request May 4, 2022
…ancer port. (mongodb#752)

CSHARP-4031: Update load balancer tests to support dedicated load balancer port.
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