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

[release/8.0] Improve test coverage for YARP Service Discovery and fix issues found #4051

Merged
merged 1 commit into from
May 1, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 1, 2024

Backport of #4036 to release/8.0

/cc @ReubenBond

Customer Impact

This fixes issues when using YARP with the DNS provider - other providers include ports, so they do not hit the issue uncovered by this.

Testing

The PR includes automated tests for YARP with all of the in-built providers.

Risk

Low - this includes tests, and the higher-impact part of the change is localized to YARP integration. The other change (added clause in ServiceEndPointImpl.ToString()) is to format IPv6 IPEndPoint instances with no port (port == 0) in a manner acceptable for inclusion in a URI, which only affects DNS, since only DNS does not provide a port.

Regression?

No

Microsoft Reviewers: Open in CodeFlow

@dotnet-policy-service dotnet-policy-service bot added the Servicing-consider Issue for next servicing release review label May 1, 2024
@danmoseley danmoseley merged commit e7c5acb into release/8.0 May 1, 2024
7 checks passed
@danmoseley danmoseley deleted the backport/pr-4036-to-release/8.0 branch May 1, 2024 20:24
@github-actions github-actions bot locked and limited conversation to collaborators Jun 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-service-discovery Servicing-consider Issue for next servicing release review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants