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

xds: clusterresolver e2e test cleanup #6391

Merged
merged 2 commits into from
Jun 23, 2023

Conversation

easwars
Copy link
Contributor

@easwars easwars commented Jun 22, 2023

Added better support for locality and backend options in the e2e package, and cleaned up custom endpoint resource creation logic in xds/internal/balancer/clusterresolver/e2e_test/eds_impl_test.go.

#resource-agnostic-xdsclient-api

RELEASE NOTES: none

@easwars easwars requested a review from zasweq June 22, 2023 23:13
@easwars easwars added this to the 1.57 Release milestone Jun 22, 2023
@easwars easwars force-pushed the clusterresolver_test_cleanup_part_2 branch from 14d6bbd to 5aa6ed3 Compare June 23, 2023 15:48
Comment on lines 537 to 544
// BackendOptions contains options to configure individual backends in a
// locality.
type BackendOptions struct {
// Port number on which the backend is accepting connections.
Port uint32
// Health status of the backend. Default is UNKNOWN which is treated the
// same as HEALTHY.
HealthStatus v3corepb.HealthStatus
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Still looks like on Localhost. Mention somewhere in these comments? I guess maybe we'll scale it up in future, but then you can't test locally haha.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. Added.

Yes, we probably will never make it generic enough to run on non-localhost machines :)

@zasweq
Copy link
Contributor

zasweq commented Jun 23, 2023

LGTM.

@zasweq zasweq assigned easwars and unassigned zasweq Jun 23, 2023
@easwars easwars merged commit dd931c8 into grpc:master Jun 23, 2023
1 check passed
@easwars easwars deleted the clusterresolver_test_cleanup_part_2 branch June 23, 2023 20:22
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants